Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(611)

Unified Diff: chrome/browser/views/find_bar_win_interactive_uitest.cc

Issue 17030: Revert 7508.7509 and 7510 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/view_source_uitest.cc ('k') | chrome/browser/views/find_bar_win_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/find_bar_win_interactive_uitest.cc
===================================================================
--- chrome/browser/views/find_bar_win_interactive_uitest.cc (revision 7513)
+++ chrome/browser/views/find_bar_win_interactive_uitest.cc (working copy)
@@ -52,9 +52,7 @@
} // namespace
TEST_F(FindInPageTest, CrashEscHandlers) {
- scoped_refptr<HTTPTestServer> server =
- HTTPTestServer::CreateServer(kDocRoot);
- ASSERT_TRUE(NULL != server.get());
+ TestServer server(kDocRoot);
scoped_ptr<BrowserProxy> browser(automation()->GetLastActiveBrowserWindow());
ASSERT_TRUE(browser.get() != NULL);
@@ -63,7 +61,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));
« no previous file with comments | « chrome/browser/view_source_uitest.cc ('k') | chrome/browser/views/find_bar_win_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698