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

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

Issue 1376573004: Split out Color from CSSPrimitiveValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_property
Patch Set: Rebase and review feedback Created 5 years, 2 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 90ad494694c68f7426d3dd9eb54fa82bb4a139f9..170d59479a4c8b04da7ec2a1188c17905f697f99 100644
--- a/third_party/WebKit/Source/core/css/CSSShadowValue.h
+++ b/third_party/WebKit/Source/core/css/CSSShadowValue.h
@@ -38,7 +38,7 @@ public:
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blur,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> spread,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> style,
- PassRefPtrWillBeRawPtr<CSSPrimitiveValue> color)
+ PassRefPtrWillBeRawPtr<CSSValue> color)
{
return adoptRefWillBeNoop(new CSSShadowValue(x, y, blur, spread, style, color));
}
@@ -52,7 +52,7 @@ public:
RefPtrWillBeMember<CSSPrimitiveValue> blur;
RefPtrWillBeMember<CSSPrimitiveValue> spread;
RefPtrWillBeMember<CSSPrimitiveValue> style;
- RefPtrWillBeMember<CSSPrimitiveValue> color;
+ RefPtrWillBeMember<CSSValue> color;
DECLARE_TRACE_AFTER_DISPATCH();
@@ -62,7 +62,7 @@ private:
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> blur,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> spread,
PassRefPtrWillBeRawPtr<CSSPrimitiveValue> style,
- PassRefPtrWillBeRawPtr<CSSPrimitiveValue> color);
+ PassRefPtrWillBeRawPtr<CSSValue> color);
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSShadowValue, isShadowValue());
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSPrimitiveValue.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