Index: Source/core/css/parser/BisonCSSParser-in.cpp |
diff --git a/Source/core/css/parser/BisonCSSParser-in.cpp b/Source/core/css/parser/BisonCSSParser-in.cpp |
index 73a5712156f54c545bdbdce012b57830ce16695a..97460992c93c20fe267724e2eb19d8576713543a 100644 |
--- a/Source/core/css/parser/BisonCSSParser-in.cpp |
+++ b/Source/core/css/parser/BisonCSSParser-in.cpp |
@@ -1238,9 +1238,9 @@ void BisonCSSParser::parseSelector(const String& string, CSSSelectorList& select |
PassRefPtr<ImmutableStylePropertySet> BisonCSSParser::parseInlineStyleDeclaration(const String& string, Element* element) |
{ |
Document& document = element->document(); |
- CSSParserContext context = CSSParserContext(document.elementSheet()->contents()->parserContext(), UseCounter::getFrom(&document)); |
+ CSSParserContext context = CSSParserContext(document.elementSheet().contents()->parserContext(), UseCounter::getFrom(&document)); |
context.setMode((element->isHTMLElement() && !document.inQuirksMode()) ? HTMLStandardMode : HTMLQuirksMode); |
- return BisonCSSParser(context).parseDeclaration(string, document.elementSheet()->contents()); |
+ return BisonCSSParser(context).parseDeclaration(string, document.elementSheet().contents()); |
} |
PassRefPtr<ImmutableStylePropertySet> BisonCSSParser::parseDeclaration(const String& string, StyleSheetContents* contextStyleSheet) |