Index: Source/core/css/StyleSheetContents.cpp |
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp |
index c60e238ee7b5bcf214197c353527f53bce934cb5..c8df8a13033e9b7122cf8a637faa6a5b287561ca 100644 |
--- a/Source/core/css/StyleSheetContents.cpp |
+++ b/Source/core/css/StyleSheetContents.cpp |
@@ -287,11 +287,8 @@ void StyleSheetContents::parseAuthorStyleSheet(const CSSStyleSheetResource* cach |
TRACE_EVENT0("blink", "StyleSheetContents::parseAuthorStyleSheet"); |
TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "ParseAuthorStyleSheet", "data", InspectorParseAuthorStyleSheetEvent::data(cachedStyleSheet)); |
- bool quirksMode = isQuirksModeBehavior(m_parserContext.mode()); |
- |
- bool enforceMIMEType = !quirksMode; |
bool hasValidMIMEType = false; |
- String sheetText = cachedStyleSheet->sheetText(enforceMIMEType, &hasValidMIMEType); |
+ String sheetText = cachedStyleSheet->sheetText(&hasValidMIMEType); |
CSSParserContext context(parserContext(), UseCounter::getFrom(this)); |
CSSParser::parseSheet(context, this, sheetText, TextPosition::minimumPosition(), 0, true); |