Index: webkit/renderer/compositor_bindings/web_animation_impl.h |
diff --git a/webkit/renderer/compositor_bindings/web_animation_impl.h b/webkit/renderer/compositor_bindings/web_animation_impl.h |
index faedf905b3a7d0177f9b4b6a6d27ccafc699dd77..e6413cfbb6ad4f7c5011f71e8126d056eb9c6ae0 100644 |
--- a/webkit/renderer/compositor_bindings/web_animation_impl.h |
+++ b/webkit/renderer/compositor_bindings/web_animation_impl.h |
@@ -5,6 +5,7 @@ |
#ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_IMPL_H_ |
#define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_ANIMATION_IMPL_H_ |
+#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
#include "third_party/WebKit/public/platform/WebAnimation.h" |
#include "webkit/renderer/compositor_bindings/webkit_compositor_bindings_export.h" |
@@ -36,9 +37,14 @@ class WebAnimationImpl : public WebKit::WebAnimation { |
virtual bool alternatesDirection() const; |
virtual void setAlternatesDirection(bool alternates); |
- scoped_ptr<cc::Animation> CloneToAnimation(); |
+ scoped_ptr<cc::Animation> PassAnimation(); |
private: |
+ cc::Animation* Animation() const { |
jamesr
2013/09/23 18:09:31
this doesn't seem all that useful to me - when you
|
+ DCHECK(animation_); |
+ return animation_.get(); |
+ } |
+ |
scoped_ptr<cc::Animation> animation_; |
DISALLOW_COPY_AND_ASSIGN(WebAnimationImpl); |