зеркало из https://github.com/mozilla/pjs.git
Make sure to set mScannerInited when it is. Bug 263959, caught by jag
This commit is contained in:
Родитель
1bb1d15c77
Коммит
befd4d0913
|
@ -520,6 +520,9 @@ CSSParserImpl::InitScanner(nsIUnicharInputStream* aInput, nsIURI* aSheetURI,
|
|||
NS_ASSERTION(! mScannerInited, "already have scanner");
|
||||
|
||||
mScanner.Init(aInput, aSheetURI, aLineNumber);
|
||||
#ifdef DEBUG
|
||||
mScannerInited = PR_TRUE;
|
||||
#endif
|
||||
mBaseURL = aBaseURI;
|
||||
|
||||
mHavePushBack = PR_FALSE;
|
||||
|
|
|
@ -520,6 +520,9 @@ CSSParserImpl::InitScanner(nsIUnicharInputStream* aInput, nsIURI* aSheetURI,
|
|||
NS_ASSERTION(! mScannerInited, "already have scanner");
|
||||
|
||||
mScanner.Init(aInput, aSheetURI, aLineNumber);
|
||||
#ifdef DEBUG
|
||||
mScannerInited = PR_TRUE;
|
||||
#endif
|
||||
mBaseURL = aBaseURI;
|
||||
|
||||
mHavePushBack = PR_FALSE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче