зеркало из https://github.com/mozilla/pjs.git
Temporary work around to setting hint better
This commit is contained in:
Родитель
1816bc467d
Коммит
05d3950c8e
|
@ -482,7 +482,7 @@ CSSParserImpl::ParseAndAppendDeclaration(const nsString& aBuffer,
|
||||||
|
|
||||||
ParseDeclaration(&errorCode, aDeclaration, PR_FALSE, aHint);
|
ParseDeclaration(&errorCode, aDeclaration, PR_FALSE, aHint);
|
||||||
// XXX
|
// XXX
|
||||||
aHint = NS_STYLE_HINT_UNKNOWN;
|
*aHint = NS_STYLE_HINT_REFLOW;
|
||||||
|
|
||||||
delete mScanner;
|
delete mScanner;
|
||||||
mScanner = nsnull;
|
mScanner = nsnull;
|
||||||
|
|
|
@ -482,7 +482,7 @@ CSSParserImpl::ParseAndAppendDeclaration(const nsString& aBuffer,
|
||||||
|
|
||||||
ParseDeclaration(&errorCode, aDeclaration, PR_FALSE, aHint);
|
ParseDeclaration(&errorCode, aDeclaration, PR_FALSE, aHint);
|
||||||
// XXX
|
// XXX
|
||||||
aHint = NS_STYLE_HINT_UNKNOWN;
|
*aHint = NS_STYLE_HINT_REFLOW;
|
||||||
|
|
||||||
delete mScanner;
|
delete mScanner;
|
||||||
mScanner = nsnull;
|
mScanner = nsnull;
|
||||||
|
|
|
@ -482,7 +482,7 @@ CSSParserImpl::ParseAndAppendDeclaration(const nsString& aBuffer,
|
||||||
|
|
||||||
ParseDeclaration(&errorCode, aDeclaration, PR_FALSE, aHint);
|
ParseDeclaration(&errorCode, aDeclaration, PR_FALSE, aHint);
|
||||||
// XXX
|
// XXX
|
||||||
aHint = NS_STYLE_HINT_UNKNOWN;
|
*aHint = NS_STYLE_HINT_REFLOW;
|
||||||
|
|
||||||
delete mScanner;
|
delete mScanner;
|
||||||
mScanner = nsnull;
|
mScanner = nsnull;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче