Index: third_party/WebKit/Source/modules/presentation/PresentationRequest.h |
diff --git a/third_party/WebKit/Source/modules/presentation/PresentationRequest.h b/third_party/WebKit/Source/modules/presentation/PresentationRequest.h |
index 8e355b7a0c22e3a51f539b5f60e9586e9fea7ea6..64479b1a63086aee7e6cbd2adf0441efb5120a0c 100644 |
--- a/third_party/WebKit/Source/modules/presentation/PresentationRequest.h |
+++ b/third_party/WebKit/Source/modules/presentation/PresentationRequest.h |
@@ -5,6 +5,7 @@ |
#ifndef PresentationRequest_h |
#define PresentationRequest_h |
+#include "bindings/core/v8/ActiveScriptWrappable.h" |
#include "bindings/core/v8/ScriptPromise.h" |
#include "core/dom/ActiveDOMObject.h" |
#include "core/events/EventTarget.h" |
@@ -18,6 +19,7 @@ namespace blink { |
// which websites can start or join presentation connections. |
class PresentationRequest final |
: public RefCountedGarbageCollectedEventTargetWithInlineData<PresentationRequest> |
+ , public ActiveScriptWrappable |
, public ActiveDOMObject { |
REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(PresentationRequest); |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(PresentationRequest); |
@@ -31,8 +33,8 @@ public: |
const AtomicString& interfaceName() const override; |
ExecutionContext* getExecutionContext() const override; |
- // ActiveDOMObject implementation. |
- bool hasPendingActivity() const; |
+ // ActiveScriptWrappable implementation. |
+ bool hasPendingActivity() const final; |
ScriptPromise start(ScriptState*); |
ScriptPromise reconnect(ScriptState*, const String& id); |