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

Unified Diff: third_party/WebKit/Source/core/css/CSSGradientValue.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/CSSGradientValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSGradientValue.h b/third_party/WebKit/Source/core/css/CSSGradientValue.h
index 7d944e28edf890b41ebfd5f3faea2ffe89c5e60c..3add5eae41af48a8f0e540c230b162e0603f599d 100644
--- a/third_party/WebKit/Source/core/css/CSSGradientValue.h
+++ b/third_party/WebKit/Source/core/css/CSSGradientValue.h
@@ -56,7 +56,7 @@ struct CSSGradientColorStop {
public:
CSSGradientColorStop() : m_colorIsDerivedFromElement(false) { }
RefPtrWillBeMember<CSSPrimitiveValue> m_position; // percentage or length
- RefPtrWillBeMember<CSSPrimitiveValue> m_color;
+ RefPtrWillBeMember<CSSValue> m_color;
bool m_colorIsDerivedFromElement;
bool operator==(const CSSGradientColorStop& other) const
{
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSColorValue.h ('k') | third_party/WebKit/Source/core/css/CSSGradientValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698