| Index: chrome/browser/views/find_bar_win_interactive_uitest.cc
|
| ===================================================================
|
| --- chrome/browser/views/find_bar_win_interactive_uitest.cc (revision 7499)
|
| +++ chrome/browser/views/find_bar_win_interactive_uitest.cc (working copy)
|
| @@ -52,7 +52,9 @@
|
| } // namespace
|
|
|
| TEST_F(FindInPageTest, CrashEscHandlers) {
|
| - TestServer server(kDocRoot);
|
| + scoped_refptr<HTTPTestServer> server =
|
| + HTTPTestServer::CreateServer(kDocRoot);
|
| + ASSERT_TRUE(NULL != server.get());
|
|
|
| scoped_ptr<BrowserProxy> browser(automation()->GetLastActiveBrowserWindow());
|
| ASSERT_TRUE(browser.get() != NULL);
|
| @@ -61,7 +63,7 @@
|
| ASSERT_TRUE(window.get() != NULL);
|
|
|
| // First we navigate to our test page (tab A).
|
| - GURL url = server.TestServerPageW(kSimplePage);
|
| + GURL url = server->TestServerPageW(kSimplePage);
|
| scoped_ptr<TabProxy> tabA(GetActiveTab());
|
| EXPECT_NE(AUTOMATION_MSG_NAVIGATION_ERROR, tabA->NavigateToURL(url));
|
|
|
|
|