Index: Source/core/css/CSSParser.h |
diff --git a/Source/core/css/CSSParser.h b/Source/core/css/CSSParser.h |
index 1f0ff6a0644ad139a01468a96f00de3ab9a97c36..25cf4bcb630747ee9054792d0c82aea39c4846a8 100644 |
--- a/Source/core/css/CSSParser.h |
+++ b/Source/core/css/CSSParser.h |
@@ -533,7 +533,7 @@ private: |
void setStyleSheet(StyleSheetContents* styleSheet) { m_styleSheet = styleSheet; } |
- inline bool inStrictMode() const { return m_context.mode == CSSStrictMode || m_context.mode == SVGAttributeMode; } |
+ inline bool inStrictMode() const { return isStrictParserMode(m_context.mode); } |
inline bool inQuirksMode() const { return m_context.mode == CSSQuirksMode; } |
KURL completeURL(const String& url) const; |