| Index: content/renderer/pepper/plugin_module.cc
|
| diff --git a/content/renderer/pepper/plugin_module.cc b/content/renderer/pepper/plugin_module.cc
|
| index 9d40f53d57400eb617fc0b0f6fd1e3ba4a6273e3..c229bc1c67099f1cc637827e6c9afd009b25f9d5 100644
|
| --- a/content/renderer/pepper/plugin_module.cc
|
| +++ b/content/renderer/pepper/plugin_module.cc
|
| @@ -800,7 +800,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.mojo_handle.is_valid()) {
|
| // Couldn't be initialized.
|
| return scoped_refptr<PluginModule>();
|
| }
|
|
|