зеркало из https://github.com/mozilla/pjs.git
Initialize the hint, just in case. Bug 139968, r=jkeiser, sr=jst
This commit is contained in:
Родитель
e77508f523
Коммит
dd0159d886
|
@ -271,7 +271,7 @@ nsDOMCSSAttributeDeclaration::ParsePropertyValue(const nsAString& aPropName,
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PRInt32 hint;
|
PRInt32 hint = NS_STYLE_HINT_NONE;
|
||||||
if (doc) {
|
if (doc) {
|
||||||
doc->BeginUpdate();
|
doc->BeginUpdate();
|
||||||
doc->AttributeWillChange(mContent, kNameSpaceID_None, nsHTMLAtoms::style);
|
doc->AttributeWillChange(mContent, kNameSpaceID_None, nsHTMLAtoms::style);
|
||||||
|
|
|
@ -271,7 +271,7 @@ nsDOMCSSAttributeDeclaration::ParsePropertyValue(const nsAString& aPropName,
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
PRInt32 hint;
|
PRInt32 hint = NS_STYLE_HINT_NONE;
|
||||||
if (doc) {
|
if (doc) {
|
||||||
doc->BeginUpdate();
|
doc->BeginUpdate();
|
||||||
doc->AttributeWillChange(mContent, kNameSpaceID_None, nsHTMLAtoms::style);
|
doc->AttributeWillChange(mContent, kNameSpaceID_None, nsHTMLAtoms::style);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче