| Index: sky/engine/core/css/parser/CSSParserMode.h
|
| diff --git a/sky/engine/core/css/parser/CSSParserMode.h b/sky/engine/core/css/parser/CSSParserMode.h
|
| index 26241f1afeafc498c2c1a886f30f08757563a0e6..51857a620c00bc5960eda6e38f1b4f94f4cd78a0 100644
|
| --- a/sky/engine/core/css/parser/CSSParserMode.h
|
| +++ b/sky/engine/core/css/parser/CSSParserMode.h
|
| @@ -67,18 +67,12 @@ inline bool isCSSViewportParsingEnabledForMode(CSSParserMode mode)
|
| return false;
|
| }
|
|
|
| -class UseCounter;
|
| -
|
| class CSSParserContext {
|
| WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| - explicit CSSParserContext(UseCounter*);
|
| - // FIXME: We shouldn't need the UseCounter argument as we could infer it from the Document
|
| - // but some callers want to disable use counting (e.g. the WebInspector).
|
| - CSSParserContext(const Document&, UseCounter*, const KURL& baseURL = KURL());
|
| - // FIXME: This constructor shouldn't exist if we properly piped the UseCounter through the CSS
|
| - // subsystem. Currently the UseCounter life time is too crazy and we need a way to override it.
|
| - CSSParserContext(const CSSParserContext&, UseCounter*);
|
| + explicit CSSParserContext();
|
| + CSSParserContext(const Document&, const KURL& baseURL = KURL());
|
| + CSSParserContext(const CSSParserContext&);
|
|
|
| bool operator==(const CSSParserContext&) const;
|
| bool operator!=(const CSSParserContext& other) const { return !(*this == other); }
|
| @@ -97,13 +91,9 @@ public:
|
|
|
| KURL completeURL(const String& url) const;
|
|
|
| - UseCounter* useCounter() const { return m_useCounter; }
|
| -
|
| private:
|
| KURL m_baseURL;
|
| Referrer m_referrer;
|
| -
|
| - UseCounter* m_useCounter;
|
| };
|
|
|
| const CSSParserContext& strictCSSParserContext();
|
|
|