Commit 67a58498 authored by Hiroki Nakagawa's avatar Hiroki Nakagawa Committed by Commit Bot

WebSocket: Remove unused DocumentWebSocketChannel::LoadingContext()

Bug: n/a
Change-Id: I26db9c9ffbbfc55245f6ddc29c1e8088047e91c2
Reviewed-on: https://chromium-review.googlesource.com/959463Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542732}
parent cb11bdcd
...@@ -558,10 +558,6 @@ void DocumentWebSocketChannel::HandleDidClose(bool was_clean, ...@@ -558,10 +558,6 @@ void DocumentWebSocketChannel::HandleDidClose(bool was_clean,
// client->DidClose may delete this object. // client->DidClose may delete this object.
} }
ThreadableLoadingContext* DocumentWebSocketChannel::LoadingContext() {
return loading_context_;
}
Document* DocumentWebSocketChannel::GetDocument() { Document* DocumentWebSocketChannel::GetDocument() {
ExecutionContext* context = loading_context_->GetExecutionContext(); ExecutionContext* context = loading_context_->GetExecutionContext();
if (context->IsDocument()) if (context->IsDocument())
......
...@@ -55,7 +55,6 @@ ...@@ -55,7 +55,6 @@
namespace blink { namespace blink {
class ThreadableLoadingContext;
class WebSocketHandshakeRequest; class WebSocketHandshakeRequest;
class WebSocketHandshakeThrottle; class WebSocketHandshakeThrottle;
...@@ -152,7 +151,6 @@ class MODULES_EXPORT DocumentWebSocketChannel final ...@@ -152,7 +151,6 @@ class MODULES_EXPORT DocumentWebSocketChannel final
void HandleDidClose(bool was_clean, void HandleDidClose(bool was_clean,
unsigned short code, unsigned short code,
const String& reason); const String& reason);
ThreadableLoadingContext* LoadingContext();
// This may return nullptr. // This may return nullptr.
// TODO(kinuko): Remove dependency to document. // TODO(kinuko): Remove dependency to document.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment