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

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

Issue 1808533003: Revert of Reduce ActiveDOMObjects from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/core/animation/Animation.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/Animation.h
diff --git a/third_party/WebKit/Source/core/animation/Animation.h b/third_party/WebKit/Source/core/animation/Animation.h
index af74a3f4791ae88c0b5ec51f07e86a3639521760..912b6e838fbb21434a3ca820bdccaba1eed69112 100644
--- a/third_party/WebKit/Source/core/animation/Animation.h
+++ b/third_party/WebKit/Source/core/animation/Animation.h
@@ -37,7 +37,7 @@
#include "core/CSSPropertyNames.h"
#include "core/CoreExport.h"
#include "core/animation/AnimationEffect.h"
-#include "core/dom/ContextLifecycleObserver.h"
+#include "core/dom/ActiveDOMObject.h"
#include "core/dom/DOMException.h"
#include "core/events/EventTarget.h"
#include "platform/animation/CompositorAnimationPlayerClient.h"
@@ -54,7 +54,7 @@
class CORE_EXPORT Animation final
: public RefCountedGarbageCollectedEventTargetWithInlineData<Animation>
- , public ContextLifecycleObserver
+ , public ActiveDOMObject
, public WebCompositorAnimationDelegate
, public CompositorAnimationPlayerClient {
DEFINE_WRAPPERTYPEINFO();
@@ -116,7 +116,7 @@
const AtomicString& interfaceName() const override;
ExecutionContext* executionContext() const override;
bool hasPendingActivity() const override;
- void contextDestroyed() override;
+ void stop() override;
double playbackRate() const;
void setPlaybackRate(double);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/animation/Animation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698