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

Unified Diff: chrome/renderer/renderer_glue.cc

Issue 1625015: Refactor ChildProcess and related classes to create a framework outside of br... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years, 8 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 | « chrome/renderer/gpu_channel_host.h ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_glue.cc
===================================================================
--- chrome/renderer/renderer_glue.cc (revision 44239)
+++ chrome/renderer/renderer_glue.cc (working copy)
@@ -237,7 +237,8 @@
// static factory function
ResourceLoaderBridge* ResourceLoaderBridge::Create(
const ResourceLoaderBridge::RequestInfo& request_info) {
- return ChildThread::current()->CreateBridge(request_info, -1, -1);
+ return static_cast<ChildThread*>(ChildThread::current())->
+ CreateBridge(request_info, -1, -1);
}
// static factory function
@@ -245,7 +246,8 @@
WebKit::WebSocketStreamHandle* handle,
WebSocketStreamHandleDelegate* delegate) {
SocketStreamDispatcher* dispatcher =
- ChildThread::current()->socket_stream_dispatcher();
+ static_cast<ChildThread*>(ChildThread::current())->
+ socket_stream_dispatcher();
return dispatcher->CreateBridge(handle, delegate);
}
« no previous file with comments | « chrome/renderer/gpu_channel_host.h ('k') | ipc/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698