| Index: content/renderer/pepper/plugin_module.cc
|
| diff --git a/content/renderer/pepper/plugin_module.cc b/content/renderer/pepper/plugin_module.cc
|
| index 4afc90b8c72219c064e92be1d14e0a332052af18..13444804bb2171c212047451b6a4b1977a0bfd3c 100644
|
| --- a/content/renderer/pepper/plugin_module.cc
|
| +++ b/content/renderer/pepper/plugin_module.cc
|
| @@ -801,7 +801,7 @@ scoped_refptr<PluginModule> PluginModule::Create(
|
| int plugin_child_id = 0;
|
| render_frame->Send(new FrameHostMsg_OpenChannelToPepperPlugin(
|
| path, &channel_handle, &peer_pid, &plugin_child_id));
|
| - if (channel_handle.name.empty()) {
|
| + if (!channel_handle.is_mojo_channel_handle()) {
|
| // Couldn't be initialized.
|
| return scoped_refptr<PluginModule>();
|
| }
|
|
|