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

Unified Diff: Source/modules/websockets/MainThreadWebSocketChannel.cpp

Issue 31063004: Have Frame::loader() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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
« no previous file with comments | « Source/modules/serviceworkers/NavigatorServiceWorker.cpp ('k') | Source/web/ContextMenuClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/MainThreadWebSocketChannel.cpp
diff --git a/Source/modules/websockets/MainThreadWebSocketChannel.cpp b/Source/modules/websockets/MainThreadWebSocketChannel.cpp
index 329bbb47360461c3d4a8762409722b36911051d0..ad21db2c5455a8a070d020ee468d64ef4e125fbf 100644
--- a/Source/modules/websockets/MainThreadWebSocketChannel.cpp
+++ b/Source/modules/websockets/MainThreadWebSocketChannel.cpp
@@ -252,7 +252,7 @@ void MainThreadWebSocketChannel::willOpenSocketStream(SocketStreamHandle* handle
LOG(Network, "MainThreadWebSocketChannel %p willOpenSocketStream()", this);
ASSERT(handle);
if (m_document->frame())
- m_document->frame()->loader()->client()->dispatchWillOpenSocketStream(handle);
+ m_document->frame()->loader().client()->dispatchWillOpenSocketStream(handle);
}
void MainThreadWebSocketChannel::didOpenSocketStream(SocketStreamHandle* handle)
« no previous file with comments | « Source/modules/serviceworkers/NavigatorServiceWorker.cpp ('k') | Source/web/ContextMenuClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698