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

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

Issue 1181023004: Move rem handling out of CSSParserValues.cpp (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
Index: Source/core/css/parser/CSSPropertyParser.h
diff --git a/Source/core/css/parser/CSSPropertyParser.h b/Source/core/css/parser/CSSPropertyParser.h
index c9e16494add599936f3d943bf7109edee00e6b33..654fa2e95575e0a5c99956561bc052da60434c5f 100644
--- a/Source/core/css/parser/CSSPropertyParser.h
+++ b/Source/core/css/parser/CSSPropertyParser.h
@@ -72,7 +72,7 @@ public:
static bool parseValue(CSSPropertyID, bool important,
CSSParserValueList*, const CSSParserContext&,
- WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type);
+ WillBeHeapVector<CSSProperty, 256>&, StyleRule::Type, bool& usesRems);
static bool isSystemColor(int id);
@@ -376,6 +376,7 @@ private:
int m_inParseShorthand;
CSSPropertyID m_currentShorthand;
bool m_implicitShorthand;
+ bool m_usesRems;
RefPtrWillBeMember<CSSCalcValue> m_parsedCalculation;
};

Powered by Google App Engine
This is Rietveld 408576698