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

Unified Diff: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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
Index: third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
diff --git a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
index e3d9ba76b6ab4612d696edf980811d8cf33dd93f..6e678c91a22818b2c6a44213cf0a908d322be61f 100644
--- a/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
+++ b/third_party/WebKit/Source/modules/websockets/DocumentWebSocketChannel.h
@@ -32,7 +32,6 @@
#define DocumentWebSocketChannel_h
#include "bindings/core/v8/SourceLocation.h"
-#include "core/dom/ContextLifecycleObserver.h"
#include "core/fileapi/Blob.h"
#include "core/fileapi/FileError.h"
#include "modules/ModulesExport.h"
@@ -59,10 +58,7 @@ class WebSocketHandshakeRequest;
// DOMWindow (i.e. works in the main thread).
class MODULES_EXPORT DocumentWebSocketChannel final
: public WebSocketChannel,
- public WebSocketHandleClient,
- public ContextLifecycleObserver {
- USING_GARBAGE_COLLECTED_MIXIN(DocumentWebSocketChannel);
-
+ public WebSocketHandleClient {
public:
// You can specify the source file and the line number information
// explicitly by passing the last parameter.
@@ -171,6 +167,7 @@ class MODULES_EXPORT DocumentWebSocketChannel final
Member<BlobLoader> m_blobLoader;
HeapDeque<Member<Message>> m_messages;
Vector<char> m_receivingMessageData;
+ Member<Document> m_document;
bool m_receivingMessageTypeIsText;
uint64_t m_sendingQuota;

Powered by Google App Engine
This is Rietveld 408576698