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

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 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 13c5af56da4679852220d02e12553e700ac50178..4935505c5fd833c0152ce240c5f192a0a942440d 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
{

Powered by Google App Engine
This is Rietveld 408576698