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

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

Issue 2379863003: Implement AnimationEffectTimingReadOnly interface (Closed)
Patch Set: Created 4 years, 3 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/KeyframeEffect.cpp
diff --git a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
index 892d29c352dda588b160264bc8a99bbb4023b3a9..b37d650c3a2c12ae232ee829d88fa66d963bc1bd 100644
--- a/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
+++ b/third_party/WebKit/Source/core/animation/KeyframeEffect.cpp
@@ -33,6 +33,7 @@
#include "bindings/core/v8/Dictionary.h"
#include "bindings/core/v8/ExceptionState.h"
#include "core/animation/Animation.h"
+#include "core/animation/AnimationEffectTiming.h"
#include "core/animation/AnimationTimeline.h"
#include "core/animation/CompositorAnimations.h"
#include "core/animation/ElementAnimations.h"
@@ -359,6 +360,11 @@ void KeyframeEffect::attachCompositedLayers()
CompositorAnimations::attachCompositedLayers(*m_target, *animation());
}
+AnimationEffectTiming* KeyframeEffect::timing()
+{
+ return AnimationEffectTiming::create(this);
+}
+
DEFINE_TRACE(KeyframeEffect)
{
KeyframeEffectReadOnly::trace(visitor);

Powered by Google App Engine
This is Rietveld 408576698