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

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

Issue 2236193002: WIP: Implement CSS transitions on top of InterpolationTypes instead of AnimatableValues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_environmentStyle
Patch Set: Created 4 years, 4 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/AnimationStack.cpp
diff --git a/third_party/WebKit/Source/core/animation/AnimationStack.cpp b/third_party/WebKit/Source/core/animation/AnimationStack.cpp
index 6c3eb2b51875629f3cdc93a6f1c2c0e4107c739d..77a58354c4b76c3bbbd23795f3906a9948d2686e 100644
--- a/third_party/WebKit/Source/core/animation/AnimationStack.cpp
+++ b/third_party/WebKit/Source/core/animation/AnimationStack.cpp
@@ -31,7 +31,6 @@
#include "core/animation/AnimationStack.h"
#include "core/animation/CompositorAnimations.h"
-#include "core/animation/InvalidatableInterpolation.h"
#include "core/animation/css/CSSAnimations.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "wtf/NonCopyingSort.h"
@@ -51,8 +50,7 @@ void copyToActiveInterpolationsMap(const Vector<RefPtr<Interpolation>>& source,
ActiveInterpolations& activeInterpolations = entry.storedValue->value;
if (!entry.isNewEntry
&& (RuntimeEnabledFeatures::stackedCSSPropertyAnimationsEnabled() || !property.isCSSProperty() || property.isPresentationAttribute())
- && interpolation->isInvalidatableInterpolation()
- && toInvalidatableInterpolation(*interpolation).dependsOnUnderlyingValue()) {
+ && interpolation->dependsOnUnderlyingValue()) {
activeInterpolations.append(interpolation.get());
} else {
activeInterpolations.at(0) = interpolation.get();

Powered by Google App Engine
This is Rietveld 408576698