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

Unified Diff: third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h

Issue 1401853002: Fix debug crash when compositing keyword animations together (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_specialCase0and1
Patch Set: Rebased 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
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/keyword-composition-crash.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h
index 9d8ac2ee001d12905caca632253685b929b3278e..51c349049a6b8e176dfdd72e0667df9a0ed9567e 100644
--- a/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/CSSValueInterpolationType.h
@@ -29,6 +29,11 @@ public:
return nullptr;
}
+ void composite(UnderlyingValue& underlyingValue, double underlyingFraction, const InterpolationValue& value) const final
+ {
+ underlyingValue.set(&value);
+ }
+
void apply(const InterpolableValue&, const NonInterpolableValue*, StyleResolverState&) const final;
};
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/keyword-composition-crash.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698