| Index: chrome/browser/browser_uitest.cc
|
| ===================================================================
|
| --- chrome/browser/browser_uitest.cc (revision 7499)
|
| +++ chrome/browser/browser_uitest.cc (working copy)
|
| @@ -240,7 +240,9 @@
|
| return;
|
|
|
| const wchar_t kDocRoot[] = L"chrome/test/data";
|
| - TestServer server(kDocRoot);
|
| + scoped_refptr<HTTPTestServer> server =
|
| + HTTPTestServer::CreateServer(kDocRoot);
|
| + ASSERT_TRUE(NULL != server.get());
|
| std::wstring test_file(test_data_directory_);
|
| scoped_ptr<BrowserProxy> window(automation()->GetBrowserWindow(0));
|
| scoped_ptr<TabProxy> tab(window->GetActiveTab());
|
| @@ -278,7 +280,9 @@
|
| return;
|
|
|
| const wchar_t kDocRoot[] = L"chrome/test/data";
|
| - TestServer server(kDocRoot);
|
| + scoped_refptr<HTTPTestServer> server =
|
| + HTTPTestServer::CreateServer(kDocRoot);
|
| + ASSERT_TRUE(NULL != server.get());
|
| std::wstring test_file(test_data_directory_);
|
| scoped_ptr<BrowserProxy> window(automation()->GetBrowserWindow(0));
|
| scoped_ptr<TabProxy> tab(window->GetActiveTab());
|
|
|