Index: content/browser/plugin_service_impl_browsertest.cc |
diff --git a/content/browser/plugin_service_impl_browsertest.cc b/content/browser/plugin_service_impl_browsertest.cc |
index 44f47547289725a380cee4bf5141fab66acb3d45..7a3271e6c78f92f57a832e59e93e2650fb7a3673 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_ = new IPC::Channel(handle, IPC::Channel::MODE_CLIENT, this); |
+ channel_ = IPC::Channel::CreateClient(handle, this).release(); |
ASSERT_TRUE(channel_->Connect()); |
} |