| Index: Source/core/css/parser/CSSParserMode.h
|
| diff --git a/Source/core/css/parser/CSSParserMode.h b/Source/core/css/parser/CSSParserMode.h
|
| index d2a7f5c9bd55e3f537ec9e305f7bf3469b3bbcb8..811f445055ac004597cf4c62cab6a4c009f7bdad 100644
|
| --- a/Source/core/css/parser/CSSParserMode.h
|
| +++ b/Source/core/css/parser/CSSParserMode.h
|
| @@ -33,14 +33,12 @@
|
|
|
| #include "core/CoreExport.h"
|
| #include "core/fetch/ResourceLoaderOptions.h"
|
| -#include "core/frame/LocalFrame.h"
|
| #include "platform/weborigin/KURL.h"
|
| #include "platform/weborigin/Referrer.h"
|
|
|
| namespace blink {
|
|
|
| class Document;
|
| -class LocalFrame;
|
|
|
| // Must not grow beyond 3 bits, due to packing in StylePropertySet.
|
| enum CSSParserMode {
|
| @@ -94,8 +92,7 @@
|
| CSSParserContext(const Document&, UseCounter*, const KURL& baseURL = KURL(), const String& charset = emptyString());
|
| // 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&, LocalFrame*, UseCounter*);
|
| - ~CSSParserContext();
|
| + CSSParserContext(const CSSParserContext&, UseCounter*);
|
|
|
| bool operator==(const CSSParserContext&) const;
|
| bool operator!=(const CSSParserContext& other) const { return !(*this == other); }
|
| @@ -120,7 +117,6 @@
|
|
|
| KURL completeURL(const String& url) const;
|
|
|
| - LocalFrame* frame() const { return m_frame.get(); } // may be null
|
| UseCounter* useCounter() const { return m_useCounter; }
|
|
|
| ContentSecurityPolicyDisposition shouldCheckContentSecurityPolicy() const { return m_shouldCheckContentSecurityPolicy; }
|
| @@ -134,7 +130,6 @@
|
| bool m_useLegacyBackgroundSizeShorthandBehavior;
|
| ContentSecurityPolicyDisposition m_shouldCheckContentSecurityPolicy;
|
|
|
| - RefPtrWillBePersistent<LocalFrame> m_frame;
|
| UseCounter* m_useCounter;
|
| };
|
|
|
|
|