| Index: sky/engine/core/html/HTMLContentElement.cpp
|
| diff --git a/sky/engine/core/html/HTMLContentElement.cpp b/sky/engine/core/html/HTMLContentElement.cpp
|
| index 3491807f422a3a5da3b8c17fc09f5305e7c08b41..37391775f866f0505f47a15f0fc5c750e82e961f 100644
|
| --- a/sky/engine/core/html/HTMLContentElement.cpp
|
| +++ b/sky/engine/core/html/HTMLContentElement.cpp
|
| @@ -54,7 +54,8 @@ void HTMLContentElement::parseSelect()
|
| {
|
| ASSERT(m_shouldParseSelect);
|
|
|
| - BisonCSSParser parser(CSSParserContext(document(), 0));
|
| + CSSParserContext context(document());
|
| + BisonCSSParser parser(context);
|
| parser.parseSelector(m_select, m_selectorList);
|
| m_shouldParseSelect = false;
|
| m_isValidSelector = validateSelect();
|
|
|