Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(706)

Unified Diff: Source/core/css/parser/CSSParserMode.h

Issue 1318933002: Revert of Deprecate 'intrinsic' and 'min-intrinsic' CSS keywords (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/parser/CSSParserImpl.cpp ('k') | Source/core/css/parser/CSSParserMode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « Source/core/css/parser/CSSParserImpl.cpp ('k') | Source/core/css/parser/CSSParserMode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698