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

Unified Diff: third_party/WebKit/Source/core/animation/ColorStyleInterpolation.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/animation/ColorStyleInterpolation.h
diff --git a/third_party/WebKit/Source/core/animation/ColorStyleInterpolation.h b/third_party/WebKit/Source/core/animation/ColorStyleInterpolation.h
index 57c9b6f196f0dc77daf30e117af876b3e168c3bc..e106c9b9165c52bcd8df0e70233cccfaed435ef4 100644
--- a/third_party/WebKit/Source/core/animation/ColorStyleInterpolation.h
+++ b/third_party/WebKit/Source/core/animation/ColorStyleInterpolation.h
@@ -7,6 +7,7 @@
#include "core/CoreExport.h"
#include "core/animation/StyleInterpolation.h"
+#include "core/css/CSSColorValue.h"
#include "core/css/CSSPrimitiveValue.h"
#include "platform/graphics/Color.h"
@@ -34,7 +35,7 @@ private:
}
static PassOwnPtr<InterpolableValue> colorToInterpolableValue(const CSSValue&);
- static PassRefPtrWillBeRawPtr<CSSPrimitiveValue> interpolableValueToColor(const InterpolableValue&);
+ static PassRefPtrWillBeRawPtr<CSSColorValue> interpolableValueToColor(const InterpolableValue&);
friend class AnimationColorStyleInterpolationTest;
friend class ShadowStyleInterpolation;

Powered by Google App Engine
This is Rietveld 408576698