Index: content/browser/plugin_data_remover_impl.cc |
diff --git a/content/browser/plugin_data_remover_impl.cc b/content/browser/plugin_data_remover_impl.cc |
index a489822467ecb878aaaece55ca7b22ad23befdb7..fd56d67bb0235e0ac0308ea62776dac80d42c92a 100644 |
--- a/content/browser/plugin_data_remover_impl.cc |
+++ b/content/browser/plugin_data_remover_impl.cc |
@@ -139,7 +139,7 @@ class PluginDataRemoverImpl::Context |
void OnPpapiChannelOpened(const IPC::ChannelHandle& channel_handle, |
base::ProcessId /* peer_pid */, |
int /* child_id */) override { |
- if (!channel_handle.name.empty()) |
+ if (channel_handle.mojo_handle.is_valid()) |
ConnectToChannel(channel_handle); |
// Balancing the AddRef call. |