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

Unified Diff: third_party/WebKit/Source/core/css/CSSShadowValue.h

Issue 2346193002: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Rebase please work Created 4 years, 3 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: third_party/WebKit/Source/core/css/CSSShadowValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSShadowValue.h b/third_party/WebKit/Source/core/css/CSSShadowValue.h
index 66a6e82ad24c6fcda0d299f1afa87753eeba021d..77f3716125e06a5202abbd4930e16f95f1d3e84a 100644
--- a/third_party/WebKit/Source/core/css/CSSShadowValue.h
+++ b/third_party/WebKit/Source/core/css/CSSShadowValue.h
@@ -28,6 +28,7 @@
namespace blink {
+class CSSIdentifierValue;
class CSSPrimitiveValue;
// Used for text-shadow and box-shadow
@@ -37,7 +38,7 @@ public:
CSSPrimitiveValue* y,
CSSPrimitiveValue* blur,
CSSPrimitiveValue* spread,
- CSSPrimitiveValue* style,
+ CSSIdentifierValue* style,
CSSValue* color)
{
return new CSSShadowValue(x, y, blur, spread, style, color);
@@ -51,7 +52,7 @@ public:
Member<CSSPrimitiveValue> y;
Member<CSSPrimitiveValue> blur;
Member<CSSPrimitiveValue> spread;
- Member<CSSPrimitiveValue> style;
+ Member<CSSIdentifierValue> style;
Member<CSSValue> color;
DECLARE_TRACE_AFTER_DISPATCH();
@@ -61,7 +62,7 @@ private:
CSSPrimitiveValue* y,
CSSPrimitiveValue* blur,
CSSPrimitiveValue* spread,
- CSSPrimitiveValue* style,
+ CSSIdentifierValue* style,
CSSValue* color);
};
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSReflectValue.cpp ('k') | third_party/WebKit/Source/core/css/CSSShadowValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698