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

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

Issue 2382653006: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Make check-webkit-style happy 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 325cefe16b0cb9a1af4dcb84fe64d423e7ef9bb1..cd64226e4af2a5016c89e8b050b975f81d16a90d 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 @@ class CORE_EXPORT CSSShadowValue : public CSSValue {
CSSPrimitiveValue* y,
CSSPrimitiveValue* blur,
CSSPrimitiveValue* spread,
- CSSPrimitiveValue* style,
+ CSSIdentifierValue* style,
CSSValue* color) {
return new CSSShadowValue(x, y, blur, spread, style, color);
}
@@ -50,7 +51,7 @@ class CORE_EXPORT CSSShadowValue : public CSSValue {
Member<CSSPrimitiveValue> y;
Member<CSSPrimitiveValue> blur;
Member<CSSPrimitiveValue> spread;
- Member<CSSPrimitiveValue> style;
+ Member<CSSIdentifierValue> style;
Member<CSSValue> color;
DECLARE_TRACE_AFTER_DISPATCH();
@@ -60,7 +61,7 @@ class CORE_EXPORT CSSShadowValue : public CSSValue {
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