Index: third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h |
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h b/third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h |
index 125c4b8d1b9a0c13d037b749c8d12998879f9345..86d534e2527d93a4dab0e195016a83ef31106e1a 100644 |
--- a/third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h |
+++ b/third_party/WebKit/Source/modules/mediastream/RTCSessionDescriptionRequestImpl.h |
@@ -31,7 +31,7 @@ |
#ifndef RTCSessionDescriptionRequestImpl_h |
#define RTCSessionDescriptionRequestImpl_h |
-#include "core/dom/ContextLifecycleObserver.h" |
+#include "core/dom/ActiveDOMObject.h" |
#include "platform/heap/Handle.h" |
#include "platform/mediastream/RTCSessionDescriptionRequest.h" |
#include "wtf/PassOwnPtr.h" |
@@ -44,7 +44,7 @@ |
class RTCSessionDescriptionCallback; |
class WebRTCSessionDescription; |
-class RTCSessionDescriptionRequestImpl final : public RTCSessionDescriptionRequest, public ContextLifecycleObserver { |
+class RTCSessionDescriptionRequestImpl final : public RTCSessionDescriptionRequest, public ActiveDOMObject { |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(RTCSessionDescriptionRequestImpl); |
public: |
static RTCSessionDescriptionRequestImpl* create(ExecutionContext*, RTCPeerConnection*, RTCSessionDescriptionCallback*, RTCPeerConnectionErrorCallback*); |
@@ -53,7 +53,8 @@ |
void requestSucceeded(const WebRTCSessionDescription&) override; |
void requestFailed(const String& error) override; |
- void contextDestroyed() override; |
+ // ActiveDOMObject |
+ void stop() override; |
DECLARE_VIRTUAL_TRACE(); |