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 be40e52766ce635447cca1ac6b7edc8e1c807382..c6a30fa206b8b082bd17c7e68526d40d17358920 100644 |
--- a/content/browser/gpu/gpu_process_host.cc |
+++ b/content/browser/gpu/gpu_process_host.cc |
@@ -566,10 +566,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::GetTaskRunnerForThread(BrowserThread::IO))); |
gpu::GpuPreferences gpu_preferences = GetGpuPreferencesFromCommandLine(); |
if (in_process_) { |
@@ -940,11 +939,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() { |