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

Unified Diff: content/renderer/pepper/pepper_broker.cc

Issue 2094623002: Use ChannelMojo for plugin-renderer channels. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-ipc-channel-handle
Patch Set: rebase 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/pepper/pepper_broker.cc
diff --git a/content/renderer/pepper/pepper_broker.cc b/content/renderer/pepper/pepper_broker.cc
index 765e7b33e37745461bfc638af095d6e5ea6e4cb8..7d29177475c6e38bc3ee7d26b342628331baf34d 100644
--- a/content/renderer/pepper/pepper_broker.cc
+++ b/content/renderer/pepper/pepper_broker.cc
@@ -57,12 +57,6 @@ bool PepperBrokerDispatcherWrapper::Init(
if (channel_handle.name.empty())
return false;
-#if defined(OS_POSIX)
- DCHECK_NE(-1, channel_handle.socket.fd);
- if (channel_handle.socket.fd == -1)
- return false;
-#endif
-
dispatcher_delegate_.reset(new PepperProxyChannelDelegateImpl);
dispatcher_.reset(new ppapi::proxy::BrokerHostDispatcher());
« content/ppapi_plugin/ppapi_thread.cc ('K') | « content/renderer/pepper/host_dispatcher_wrapper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698