mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 02:31:59 +00:00
Fixed oopsie in the hint storage check
This commit is contained in:
parent
18aaa0bf5a
commit
44596edbf4
@ -506,7 +506,7 @@ CSSParserImpl::ParseAndAppendDeclaration(const nsString& aBuffer,
|
||||
PRInt32 hint = NS_STYLE_HINT_UNKNOWN;
|
||||
|
||||
ParseDeclaration(errorCode, aDeclaration, PR_FALSE, hint);
|
||||
if (nsnull == aHint) {
|
||||
if (nsnull != aHint) {
|
||||
*aHint = hint;
|
||||
}
|
||||
|
||||
|
@ -506,7 +506,7 @@ CSSParserImpl::ParseAndAppendDeclaration(const nsString& aBuffer,
|
||||
PRInt32 hint = NS_STYLE_HINT_UNKNOWN;
|
||||
|
||||
ParseDeclaration(errorCode, aDeclaration, PR_FALSE, hint);
|
||||
if (nsnull == aHint) {
|
||||
if (nsnull != aHint) {
|
||||
*aHint = hint;
|
||||
}
|
||||
|
||||
|
@ -506,7 +506,7 @@ CSSParserImpl::ParseAndAppendDeclaration(const nsString& aBuffer,
|
||||
PRInt32 hint = NS_STYLE_HINT_UNKNOWN;
|
||||
|
||||
ParseDeclaration(errorCode, aDeclaration, PR_FALSE, hint);
|
||||
if (nsnull == aHint) {
|
||||
if (nsnull != aHint) {
|
||||
*aHint = hint;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user