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

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

Issue 1092963002: Remove CSSPropertyParser::inViewport method (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase against ToT Created 5 years, 7 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/CSSPropertyParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/parser/CSSPropertyParser.h
diff --git a/Source/core/css/parser/CSSPropertyParser.h b/Source/core/css/parser/CSSPropertyParser.h
index 1512a83f331ea038f8b1247ea6379aa41eb86fc5..1fc5f16df4342426aa5077966679191a2fbcf69c 100644
--- a/Source/core/css/parser/CSSPropertyParser.h
+++ b/Source/core/css/parser/CSSPropertyParser.h
@@ -71,7 +71,7 @@ public:
};
static bool parseValue(CSSPropertyID, bool important,
- CSSParserValueList*, const CSSParserContext&, bool inViewport,
+ CSSParserValueList*, const CSSParserContext&,
WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type);
// FIXME: This should probably move to CSSParserFastPaths
@@ -81,7 +81,7 @@ public:
static bool isSystemColor(int id);
private:
- CSSPropertyParser(CSSParserValueList*, const CSSParserContext&, bool inViewport,
+ CSSPropertyParser(CSSParserValueList*, const CSSParserContext&,
WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type);
bool parseValue(CSSPropertyID, bool important);
@@ -89,7 +89,6 @@ private:
bool inShorthand() const { return m_inParseShorthand; }
bool inQuirksMode() const { return isQuirksModeBehavior(m_context.mode()); }
- bool inViewport() const { return m_inViewport; }
bool parseViewportProperty(CSSPropertyID propId, bool important);
bool parseViewportShorthand(CSSPropertyID propId, CSSPropertyID first, CSSPropertyID second, bool important);
bool parseFontFaceDescriptor(CSSPropertyID);
@@ -366,7 +365,6 @@ private:
// Inputs:
CSSParserValueList* m_valueList;
const CSSParserContext& m_context;
- const bool m_inViewport;
// Outputs:
WillBeHeapVector<CSSProperty, 256>& m_parsedProperties;
« no previous file with comments | « Source/core/css/parser/CSSParserImpl.cpp ('k') | Source/core/css/parser/CSSPropertyParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698