| Index: Source/core/css/StyleSheetContents.cpp
|
| diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp
|
| index 6dc4dca3bad25f78515a07f28854d5b8e516739c..606274d4de4c959de195d9c9c42982e124fb1946 100644
|
| --- a/Source/core/css/StyleSheetContents.cpp
|
| +++ b/Source/core/css/StyleSheetContents.cpp
|
| @@ -21,7 +21,7 @@
|
| #include "config.h"
|
| #include "core/css/StyleSheetContents.h"
|
|
|
| -#include "core/css/CSSParser.h"
|
| +#include "core/css/parser/BisonCSSParser.h"
|
| #include "core/css/CSSStyleSheet.h"
|
| #include "core/css/MediaList.h"
|
| #include "core/css/StylePropertySet.h"
|
| @@ -301,7 +301,7 @@ void StyleSheetContents::parseAuthorStyleSheet(const CSSStyleSheetResource* cach
|
| bool hasValidMIMEType = false;
|
| String sheetText = cachedStyleSheet->sheetText(enforceMIMEType, &hasValidMIMEType);
|
|
|
| - CSSParser p(parserContext(), UseCounter::getFrom(this));
|
| + BisonCSSParser p(parserContext(), UseCounter::getFrom(this));
|
| p.parseSheet(this, sheetText, TextPosition::minimumPosition(), 0, true);
|
|
|
| // If we're loading a stylesheet cross-origin, and the MIME type is not standard, require the CSS
|
| @@ -323,7 +323,7 @@ bool StyleSheetContents::parseString(const String& sheetText)
|
|
|
| bool StyleSheetContents::parseStringAtPosition(const String& sheetText, const TextPosition& startPosition, bool createdByParser)
|
| {
|
| - CSSParser p(parserContext(), UseCounter::getFrom(this));
|
| + BisonCSSParser p(parserContext(), UseCounter::getFrom(this));
|
| p.parseSheet(this, sheetText, startPosition, 0, createdByParser);
|
|
|
| return true;
|
|
|