Index: content/renderer/pepper/pepper_broker_impl.cc |
diff --git a/content/renderer/pepper/pepper_broker_impl.cc b/content/renderer/pepper/pepper_broker_impl.cc |
index 6d86d0b4dcafafd1dd89f3fd520a22a8d3946b60..e3781d8cdf5beb18bee88b99a68d0ade22e96558 100644 |
--- a/content/renderer/pepper/pepper_broker_impl.cc |
+++ b/content/renderer/pepper/pepper_broker_impl.cc |
@@ -7,6 +7,7 @@ |
#include "build/build_config.h" |
#include "content/renderer/pepper/pepper_plugin_delegate_impl.h" |
#include "content/renderer/pepper/pepper_proxy_channel_delegate_impl.h" |
+#include "content/renderer/renderer_restrict_dispatch_group.h" |
#include "ipc/ipc_channel_handle.h" |
#include "ppapi/proxy/broker_dispatcher.h" |
#include "ppapi/proxy/ppapi_messages.h" |
@@ -74,7 +75,8 @@ bool PepperBrokerDispatcherWrapper::Init( |
dispatcher_delegate_.reset(); |
return false; |
} |
- dispatcher_->channel()->SetRestrictDispatchToSameChannel(true); |
+ dispatcher_->channel()->SetRestrictDispatchChannelGroup( |
+ content::kRendererRestrictDispatchGroup_Pepper); |
return true; |
} |