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

Unified Diff: chrome/common/net/cache_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/common/chrome_plugin_unittest.cc ('k') | chrome/test/ui/inspector_controller_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/cache_uitest.cc
===================================================================
--- chrome/common/net/cache_uitest.cc (revision 7513)
+++ chrome/common/net/cache_uitest.cc (working copy)
@@ -54,10 +54,8 @@
void CacheTest::RunCacheTest(const std::wstring &url,
bool expect_new_tab_cached,
bool expect_delayed_reload) {
- scoped_refptr<HTTPTestServer> server =
- HTTPTestServer::CreateServer(L"chrome/test/data");
- ASSERT_TRUE(NULL != server.get());
- GURL test_page(server->TestServerPageW(url));
+ TestServer server(L"chrome/test/data");
+ GURL test_page(server.TestServerPageW(url));
NavigateToURL(test_page);
std::wstring original_time = GetActiveTabTitle();
« no previous file with comments | « chrome/common/chrome_plugin_unittest.cc ('k') | chrome/test/ui/inspector_controller_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698