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

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

Issue 1304993002: Change Rect and Quad to be CSSValues (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@split_counter_out_attempt_3
Patch Set: Removed empty destructor 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 f5f7bac0274d156da50b3e5806bf0f8a82b157b5..c11bdd11c9680ba25e74b3ab8e00215c096290bd 100644
--- a/Source/core/css/CSSValue.h
+++ b/Source/core/css/CSSValue.h
@@ -82,6 +82,7 @@ public:
bool isCSSWideKeyword() const { return m_classType >= InheritedClass && m_classType <= UnsetClass; }
bool isLinearGradientValue() const { return m_classType == LinearGradientClass; }
bool isPathValue() const { return m_classType == PathClass; }
+ bool isQuadValue() const { return m_classType == QuadClass; }
bool isRadialGradientValue() const { return m_classType == RadialGradientClass; }
bool isReflectValue() const { return m_classType == ReflectClass; }
bool isShadowValue() const { return m_classType == ShadowClass; }
@@ -114,6 +115,7 @@ protected:
enum ClassType {
PrimitiveClass,
CounterClass,
+ QuadClass,
// Image classes.
ImageClass,

Powered by Google App Engine
This is Rietveld 408576698