Index: trunk/src/content/renderer/render_thread_impl_browsertest.cc |
=================================================================== |
--- trunk/src/content/renderer/render_thread_impl_browsertest.cc (revision 273593) |
+++ trunk/src/content/renderer/render_thread_impl_browsertest.cc (working copy) |
@@ -57,9 +57,8 @@ |
std::string channel_id = IPC::Channel::GenerateVerifiedChannelID( |
std::string()); |
DummyListener dummy_listener; |
- scoped_ptr<IPC::Channel> channel( |
- IPC::Channel::CreateServer(channel_id, &dummy_listener)); |
- ASSERT_TRUE(channel->Connect()); |
+ IPC::Channel channel(channel_id, IPC::Channel::MODE_SERVER, &dummy_listener); |
+ ASSERT_TRUE(channel.Connect()); |
scoped_ptr<MockRenderProcess> mock_process(new MockRenderProcess); |
// Owned by mock_process. |