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

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

Issue 1866153003: Use "linear" as the default easing for neutral keyframes in element.animate() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/translate-neutral-keyframe-easing-expected.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/EffectInput.cpp
diff --git a/third_party/WebKit/Source/core/animation/EffectInput.cpp b/third_party/WebKit/Source/core/animation/EffectInput.cpp
index 0df3f2f9202ac787f0102f647698e06e9dcda4ac..1f4e5224412a1f48b6153ee493517a3f8fb4f428 100644
--- a/third_party/WebKit/Source/core/animation/EffectInput.cpp
+++ b/third_party/WebKit/Source/core/animation/EffectInput.cpp
@@ -104,7 +104,7 @@ EffectModel* createEffectModelFromKeyframes(Element& element, const StringKeyfra
if (encounteredCompositableProperty && element.inActiveDocument())
element.document().updateLayoutTreeForNode(&element);
- StringKeyframeEffectModel* keyframeEffectModel = StringKeyframeEffectModel::create(keyframes);
+ StringKeyframeEffectModel* keyframeEffectModel = StringKeyframeEffectModel::create(keyframes, LinearTimingFunction::shared());
if (!RuntimeEnabledFeatures::cssAdditiveAnimationsEnabled()) {
for (const auto& keyframeGroup : keyframeEffectModel->getPropertySpecificKeyframeGroups()) {
PropertyHandle property = keyframeGroup.key;
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/translate-neutral-keyframe-easing-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698