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

Unified Diff: third_party/WebKit/Source/core/animation/StringKeyframe.cpp

Issue 1592593002: Web Animations: Animate d presentation attribute using InterpolableValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove assert Created 4 years, 11 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/StringKeyframe.cpp
diff --git a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
index 3ea0b7078f539de509f1d4880dfd23995c07ea8d..c363d2dab048791a57f908124c04dea21a8f8f78 100644
--- a/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
+++ b/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
@@ -13,6 +13,7 @@
#include "core/animation/CSSLengthListInterpolationType.h"
#include "core/animation/CSSNumberInterpolationType.h"
#include "core/animation/CSSPaintInterpolationType.h"
+#include "core/animation/CSSPathInterpolationType.h"
#include "core/animation/CSSShadowListInterpolationType.h"
#include "core/animation/CSSValueInterpolationType.h"
#include "core/animation/CSSVisibilityInterpolationType.h"
@@ -242,6 +243,9 @@ const InterpolationTypes* applicableTypesForProperty(PropertyHandle property)
case CSSPropertyStroke:
applicableTypes->append(adoptPtr(new CSSPaintInterpolationType(cssProperty)));
break;
+ case CSSPropertyD:
+ applicableTypes->append(adoptPtr(new CSSPathInterpolationType(cssProperty)));
+ break;
case CSSPropertyBoxShadow:
case CSSPropertyTextShadow:
applicableTypes->append(adoptPtr(new CSSShadowListInterpolationType(cssProperty)));
« no previous file with comments | « third_party/WebKit/Source/core/animation/SVGPathInterpolationType.cpp ('k') | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698