diff options
Diffstat (limited to 'chrome/browser/debugger/devtools_manager_unittest.cc')
-rw-r--r-- | chrome/browser/debugger/devtools_manager_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/devtools_manager_unittest.cc b/chrome/browser/debugger/devtools_manager_unittest.cc index ddcc54f..a66b986 100644 --- a/chrome/browser/debugger/devtools_manager_unittest.cc +++ b/chrome/browser/debugger/devtools_manager_unittest.cc @@ -71,7 +71,7 @@ class DevToolsManagerTest : public RenderViewHostTestHarness { }; TEST_F(DevToolsManagerTest, OpenAndManuallyCloseDevToolsClientHost) { - scoped_refptr<DevToolsManager> manager = new DevToolsManager(); + scoped_refptr<DevToolsManager> manager(new DevToolsManager()); DevToolsClientHost* host = manager->GetDevToolsClientHostFor(rvh()); EXPECT_TRUE(NULL == host); @@ -95,7 +95,7 @@ TEST_F(DevToolsManagerTest, OpenAndManuallyCloseDevToolsClientHost) { } TEST_F(DevToolsManagerTest, ForwardMessageToClient) { - scoped_refptr<DevToolsManager> manager = new DevToolsManager(); + scoped_refptr<DevToolsManager> manager(new DevToolsManager()); TestDevToolsClientHost client_host; manager->RegisterDevToolsClientHostFor(rvh(), &client_host); |