зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1159056. Fix typo.
This commit is contained in:
Родитель
24f2f8714b
Коммит
4351a73f8e
|
@ -4882,12 +4882,12 @@ ScrollFrameHelper::SetCoordAttribute(nsIContent* aContent, nsIAtom* aAtom,
|
|||
DebugOnly<nsWeakPtr> weakShell(
|
||||
do_GetWeakReference(mOuter->PresContext()->PresShell()));
|
||||
// convert to pixels
|
||||
int32_t pizelSize = nsPresContext::AppUnitsToIntCSSPixels(aSize);
|
||||
int32_t pixelSize = nsPresContext::AppUnitsToIntCSSPixels(aSize);
|
||||
|
||||
// only set the attribute if it changed.
|
||||
|
||||
nsAutoString newValue;
|
||||
newValue.AppendInt(pizelSize);
|
||||
newValue.AppendInt(pixelSize);
|
||||
|
||||
if (aContent->AttrValueIs(kNameSpaceID_None, aAtom, newValue, eCaseMatters))
|
||||
return;
|
||||
|
|
Загрузка…
Ссылка в новой задаче