diff options
Diffstat (limited to 'content/browser')
-rw-r--r-- | content/browser/plugin_data_remover_impl.cc | 2 | ||||
-rw-r--r-- | content/browser/plugin_service_impl_browsertest.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/content/browser/plugin_data_remover_impl.cc b/content/browser/plugin_data_remover_impl.cc index a318e72..9133e59 100644 --- a/content/browser/plugin_data_remover_impl.cc +++ b/content/browser/plugin_data_remover_impl.cc @@ -226,7 +226,7 @@ class PluginDataRemoverImpl::Context return; DCHECK(!channel_.get()); - channel_ = IPC::Channel::CreateClient(handle, this); + channel_.reset(new IPC::Channel(handle, IPC::Channel::MODE_CLIENT, this)); if (!channel_->Connect()) { NOTREACHED() << "Couldn't connect to plugin"; SignalDone(); diff --git a/content/browser/plugin_service_impl_browsertest.cc b/content/browser/plugin_service_impl_browsertest.cc index 7a3271e..44f4754 100644 --- a/content/browser/plugin_service_impl_browsertest.cc +++ b/content/browser/plugin_service_impl_browsertest.cc @@ -60,7 +60,7 @@ class MockPluginProcessHostClient : public PluginProcessHost::Client, ASSERT_TRUE(BrowserThread::CurrentlyOn(BrowserThread::IO)); ASSERT_TRUE(set_plugin_info_called_); ASSERT_TRUE(!channel_); - channel_ = IPC::Channel::CreateClient(handle, this).release(); + channel_ = new IPC::Channel(handle, IPC::Channel::MODE_CLIENT, this); ASSERT_TRUE(channel_->Connect()); } |