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

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCDTMFSender.h

Issue 2583093002: Reduce SuspendableObjects (Closed)
Patch Set: Created 4 years 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
Index: third_party/WebKit/Source/modules/peerconnection/RTCDTMFSender.h
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCDTMFSender.h b/third_party/WebKit/Source/modules/peerconnection/RTCDTMFSender.h
index 17bf0fa40f1a5bdd0a60b283be58dfc189c4a83a..6acac652508b01829faadcd49e2f5b1019bbc230 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCDTMFSender.h
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCDTMFSender.h
@@ -26,7 +26,7 @@
#ifndef RTCDTMFSender_h
#define RTCDTMFSender_h
-#include "core/dom/SuspendableObject.h"
+#include "core/dom/ContextLifecycleObserver.h"
#include "modules/EventTargetModules.h"
#include "platform/Timer.h"
#include "public/platform/WebRTCDTMFSenderHandlerClient.h"
@@ -41,7 +41,7 @@ class WebRTCPeerConnectionHandler;
class RTCDTMFSender final : public EventTargetWithInlineData,
public WebRTCDTMFSenderHandlerClient,
- public SuspendableObject {
+ public ContextLifecycleObserver {
USING_GARBAGE_COLLECTED_MIXIN(RTCDTMFSender);
DEFINE_WRAPPERTYPEINFO();
USING_PRE_FINALIZER(RTCDTMFSender, dispose);
@@ -72,7 +72,7 @@ class RTCDTMFSender final : public EventTargetWithInlineData,
const AtomicString& interfaceName() const override;
ExecutionContext* getExecutionContext() const override;
- // SuspendableObject
+ // ContextLifecycleObserver
void contextDestroyed() override;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698