| Index: sky/engine/core/css/StylePropertySet.cpp
|
| diff --git a/sky/engine/core/css/StylePropertySet.cpp b/sky/engine/core/css/StylePropertySet.cpp
|
| index cfe8689593918566fe4fb9cfaa700f5caa50094a..a917602a5e0b8a7656753aca0f631ee580255404 100644
|
| --- a/sky/engine/core/css/StylePropertySet.cpp
|
| +++ b/sky/engine/core/css/StylePropertySet.cpp
|
| @@ -30,7 +30,6 @@
|
| #include "sky/engine/core/css/StylePropertySerializer.h"
|
| #include "sky/engine/core/css/StyleSheetContents.h"
|
| #include "sky/engine/core/css/parser/BisonCSSParser.h"
|
| -#include "sky/engine/core/frame/UseCounter.h"
|
| #include "sky/engine/wtf/text/StringBuilder.h"
|
|
|
| #ifndef NDEBUG
|
| @@ -252,10 +251,9 @@ void MutableStylePropertySet::parseDeclaration(const String& styleDeclaration, S
|
| {
|
| m_propertyVector.clear();
|
|
|
| - CSSParserContext context(UseCounter::getFrom(contextStyleSheet));
|
| - if (contextStyleSheet) {
|
| + CSSParserContext context;
|
| + if (contextStyleSheet)
|
| context = contextStyleSheet->parserContext();
|
| - }
|
|
|
| BisonCSSParser parser(context);
|
| parser.parseDeclaration(this, styleDeclaration, 0, contextStyleSheet);
|
|
|