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

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

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/CSSParserMode.h ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSParserMode.cpp
diff --git a/Source/core/css/parser/CSSParserMode.cpp b/Source/core/css/parser/CSSParserMode.cpp
index d77295c00bc86b2cd6d80d09c9888c5c309c971d..0525e622facc54769713228a870ec21602599ddb 100644
--- a/Source/core/css/parser/CSSParserMode.cpp
+++ b/Source/core/css/parser/CSSParserMode.cpp
@@ -28,7 +28,6 @@
#include "core/css/parser/CSSParserMode.h"
#include "core/dom/Document.h"
-#include "core/frame/LocalFrame.h"
#include "core/frame/Settings.h"
#include "core/frame/csp/ContentSecurityPolicy.h"
@@ -57,10 +56,9 @@
m_shouldCheckContentSecurityPolicy = DoNotCheckContentSecurityPolicy;
else
m_shouldCheckContentSecurityPolicy = CheckContentSecurityPolicy;
- m_frame = document.frame();
}
-CSSParserContext::CSSParserContext(const CSSParserContext& other, LocalFrame* frame, UseCounter* useCounter)
+CSSParserContext::CSSParserContext(const CSSParserContext& other, UseCounter* useCounter)
: m_baseURL(other.m_baseURL)
, m_charset(other.m_charset)
, m_mode(other.m_mode)
@@ -68,12 +66,7 @@
, m_isHTMLDocument(other.m_isHTMLDocument)
, m_useLegacyBackgroundSizeShorthandBehavior(other.m_useLegacyBackgroundSizeShorthandBehavior)
, m_shouldCheckContentSecurityPolicy(other.m_shouldCheckContentSecurityPolicy)
- , m_frame(frame)
, m_useCounter(useCounter)
-{
-}
-
-CSSParserContext::~CSSParserContext()
{
}
@@ -83,8 +76,7 @@
&& m_charset == other.m_charset
&& m_mode == other.m_mode
&& m_isHTMLDocument == other.m_isHTMLDocument
- && m_useLegacyBackgroundSizeShorthandBehavior == other.m_useLegacyBackgroundSizeShorthandBehavior
- && m_frame == other.m_frame;
+ && m_useLegacyBackgroundSizeShorthandBehavior == other.m_useLegacyBackgroundSizeShorthandBehavior;
}
const CSSParserContext& strictCSSParserContext()
« no previous file with comments | « Source/core/css/parser/CSSParserMode.h ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698