diff options
Diffstat (limited to 'chrome/browser/views/find_bar_win_interactive_uitest.cc')
-rw-r--r-- | chrome/browser/views/find_bar_win_interactive_uitest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/views/find_bar_win_interactive_uitest.cc b/chrome/browser/views/find_bar_win_interactive_uitest.cc index 21d2db0..43ad35c 100644 --- a/chrome/browser/views/find_bar_win_interactive_uitest.cc +++ b/chrome/browser/views/find_bar_win_interactive_uitest.cc @@ -56,21 +56,21 @@ TEST_F(FindInPageTest, CrashEscHandlers) { HTTPTestServer::CreateServer(kDocRoot, NULL); ASSERT_TRUE(NULL != server.get()); - scoped_ptr<BrowserProxy> browser(automation()->GetBrowserWindow(0)); + scoped_refptr<BrowserProxy> browser(automation()->GetBrowserWindow(0)); ASSERT_TRUE(browser.get() != NULL); - scoped_ptr<WindowProxy> window(browser->GetWindow()); + scoped_refptr<WindowProxy> window(browser->GetWindow()); ASSERT_TRUE(window.get() != NULL); // First we navigate to our test page (tab A). GURL url = server->TestServerPageW(kSimplePage); - scoped_ptr<TabProxy> tabA(GetActiveTab()); + scoped_refptr<TabProxy> tabA(GetActiveTab()); EXPECT_NE(AUTOMATION_MSG_NAVIGATION_ERROR, tabA->NavigateToURL(url)); EXPECT_TRUE(browser->OpenFindInPage()); // Open another tab (tab B). EXPECT_TRUE(browser->AppendTab(url)); - scoped_ptr<TabProxy> tabB(GetActiveTab()); + scoped_refptr<TabProxy> tabB(GetActiveTab()); EXPECT_TRUE(browser->OpenFindInPage()); |