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

Unified Diff: content/renderer/render_frame_impl.cc

Issue 2119973002: Port WebSockets to Mojo IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: content/renderer/render_frame_impl.cc
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
index c73b789cb8f00d00a90ce6b3407b47fca487437e..3edc9ddc42816ca213f33cc426a00989a56c4d9a 100644
--- a/content/renderer/render_frame_impl.cc
+++ b/content/renderer/render_frame_impl.cc
@@ -4263,8 +4263,7 @@ void RenderFrameImpl::requestStorageQuota(
}
void RenderFrameImpl::willOpenWebSocket(blink::WebSocketHandle* handle) {
- WebSocketBridge* impl = static_cast<WebSocketBridge*>(handle);
- impl->set_render_frame_id(routing_id_);
+ static_cast<WebSocketBridge*>(handle)->Initialize(GetServiceRegistry());
Ben Goodger (Google) 2016/07/01 21:19:51 Do you have an opinion about whether it'd be bette
darin (slow to review) 2016/07/06 16:57:21 Good question. I'm not sure what is better.
}
blink::WebPresentationClient* RenderFrameImpl::presentationClient() {

Powered by Google App Engine
This is Rietveld 408576698