Index: content/browser/gpu/gpu_process_host.cc |
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc |
index dc2707091adb658ea7ec34b7cd7860bf8a2a3404..8a43d7c8b99a223f30bdf341693c5d495cb5fa84 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -558,10 +558,9 @@ bool GpuProcessHost::Init() { |
DCHECK(!mojo_child_connection_); |
mojo_child_connection_.reset(new MojoChildConnection( |
- kGpuMojoApplicationName, |
- "", |
- child_token_, |
- MojoShellContext::GetConnectorForIOThread())); |
+ kGpuMojoApplicationName, "", child_token_, |
+ MojoShellContext::GetConnectorForIOThread(), |
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO))); |
gpu::GpuPreferences gpu_preferences = GetGpuPreferencesFromCommandLine(); |
if (in_process_) { |
@@ -932,11 +931,11 @@ void GpuProcessHost::OnProcessCrashed(int exit_code) { |
} |
shell::InterfaceRegistry* GpuProcessHost::GetInterfaceRegistry() { |
- return mojo_child_connection_->connection()->GetInterfaceRegistry(); |
+ return mojo_child_connection_->GetInterfaceRegistry(); |
} |
shell::InterfaceProvider* GpuProcessHost::GetRemoteInterfaces() { |
- return mojo_child_connection_->connection()->GetRemoteInterfaces(); |
+ return mojo_child_connection_->GetRemoteInterfaces(); |
} |
GpuProcessHost::GpuProcessKind GpuProcessHost::kind() { |