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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2038423004: Use ChannelMojo for Browser-GPU and Renderer-GPU IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-utility-channel-mojo
Patch Set: fix pepper 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
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | gpu/ipc/service/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 3fc1dfe73df87f6b55529d03272309c81182b151..82aebb6335fbbd509d002a17a1e3220f94f6d876 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -1780,10 +1780,7 @@ scoped_refptr<gpu::GpuChannelHost> RenderThreadImpl::EstablishGpuChannelSync(
gpu::GPUInfo gpu_info;
if (!Send(new ChildProcessHostMsg_EstablishGpuChannel(
cause_for_gpu_launch, &client_id, &channel_handle, &gpu_info)) ||
-#if defined(OS_POSIX)
- channel_handle.socket.fd == -1 ||
-#endif
- channel_handle.name.empty()) {
+ !channel_handle.mojo_handle.is_valid()) {
// Otherwise cancel the connection.
return NULL;
}
« no previous file with comments | « content/renderer/pepper/plugin_module.cc ('k') | gpu/ipc/service/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698