Index: Source/core/css/CSSParserMode.h |
diff --git a/Source/core/css/CSSParserMode.h b/Source/core/css/CSSParserMode.h |
index 36084b87af86a946533d1d9df85d15bfc0f3b7ef..0c93de7ab0b03d2cbc9cf23e6d05cfe7b630f893 100644 |
--- a/Source/core/css/CSSParserMode.h |
+++ b/Source/core/css/CSSParserMode.h |
@@ -35,7 +35,7 @@ |
namespace WebCore { |
-class Document; |
+class TreeScope; |
// Must not grow beyond 3 bits, due to packing in StylePropertySet. |
enum CSSParserMode { |
@@ -92,7 +92,7 @@ class CSSParserContext { |
WTF_MAKE_FAST_ALLOCATED; |
public: |
CSSParserContext(CSSParserMode); |
- CSSParserContext(const Document&, const KURL& baseURL = KURL(), const String& charset = emptyString()); |
+ CSSParserContext(const TreeScope&, const KURL& baseURL = KURL(), const String& charset = emptyString()); |
bool operator==(const CSSParserContext&) const; |
bool operator!=(const CSSParserContext& other) const { return !(*this == other); } |