Index: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h |
diff --git a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h |
index 0458704dab21fea73bcfa3dfff6512fc2d51770e..fab21a0cea059d59ab9044705dda5d10ad9879bc 100644 |
--- a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h |
+++ b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h |
@@ -5,9 +5,9 @@ |
#ifndef RemotePlayback_h |
#define RemotePlayback_h |
+#include "bindings/core/v8/ActiveScriptWrappable.h" |
#include "bindings/core/v8/ScriptPromise.h" |
#include "core/events/EventTarget.h" |
-#include "core/frame/DOMWindowProperty.h" |
#include "platform/heap/Handle.h" |
#include "public/platform/modules/remoteplayback/WebRemotePlaybackClient.h" |
#include "public/platform/modules/remoteplayback/WebRemotePlaybackState.h" |
@@ -24,7 +24,7 @@ class ScriptPromiseResolver; |
class RemotePlayback final |
: public EventTargetWithInlineData |
- , public DOMWindowProperty |
+ , public ActiveScriptWrappable |
, private WebRemotePlaybackClient { |
DEFINE_WRAPPERTYPEINFO(); |
USING_GARBAGE_COLLECTED_MIXIN(RemotePlayback); |
@@ -40,6 +40,9 @@ public: |
String state() const; |
+ // ActiveScriptWrappable implementation. |
+ bool hasPendingActivity() const final; |
+ |
DEFINE_ATTRIBUTE_EVENT_LISTENER(statechange); |
DECLARE_VIRTUAL_TRACE(); |