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

Unified Diff: Source/core/css/CSSValue.h

Issue 1317523002: Changed Pair to be a CSSValue (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@add_const_to_primvalue
Patch Set: Fixed some callsites from bad rebase 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
Index: Source/core/css/CSSValue.h
diff --git a/Source/core/css/CSSValue.h b/Source/core/css/CSSValue.h
index c11bdd11c9680ba25e74b3ab8e00215c096290bd..f2e3db49dad6f4c1682a57e16f507841aea494af 100644
--- a/Source/core/css/CSSValue.h
+++ b/Source/core/css/CSSValue.h
@@ -59,6 +59,7 @@ public:
String cssText() const;
bool isPrimitiveValue() const { return m_classType == PrimitiveClass; }
+ bool isValuePair() const { return m_classType == ValuePairClass; }
bool isValueList() const { return m_classType >= ValueListClass; }
bool isBaseValueList() const { return m_classType == ValueListClass; }
@@ -116,6 +117,7 @@ protected:
PrimitiveClass,
CounterClass,
QuadClass,
+ ValuePairClass,
// Image classes.
ImageClass,

Powered by Google App Engine
This is Rietveld 408576698