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 f4eab9f809b8a2b9077c5fd1dd5b3da40085c412..a6d14791ddbe7eb0df857414d68b88b8a1e2320d 100644 |
--- a/content/browser/plugin_data_remover_impl.cc |
+++ b/content/browser/plugin_data_remover_impl.cc |
@@ -159,14 +159,15 @@ class PluginDataRemoverImpl::Context |
// PpapiPluginProcessHost::BrokerClient implementation. |
virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle, |
int* renderer_id) OVERRIDE { |
+ *renderer_handle = base::kNullProcessHandle; |
*renderer_id = 0; |
} |
virtual void OnPpapiChannelOpened( |
- base::ProcessHandle plugin_process_handle, |
+ base::ProcessHandle /* plugin_process_handle */, |
const IPC::ChannelHandle& channel_handle, |
int /* child_id */) OVERRIDE { |
- if (plugin_process_handle != base::kNullProcessHandle) |
+ if (!channel_handle.name.empty()) |
ConnectToChannel(channel_handle, true); |
// Balancing the AddRef call. |