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

Unified Diff: content/public/test/browser_test_base.cc

Issue 12210088: Make the TestServer use an absolute document root path. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: testserver uses absolute docroot path Created 7 years, 10 months 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
Index: content/public/test/browser_test_base.cc
diff --git a/content/public/test/browser_test_base.cc b/content/public/test/browser_test_base.cc
index d0b83cd090dbd503042b8ed19f7a835cd297dc2b..f9df986003d10f9e3fef8dccf7ad3941c5c43dfa 100644
--- a/content/public/test/browser_test_base.cc
+++ b/content/public/test/browser_test_base.cc
@@ -117,7 +117,7 @@ void BrowserTestBase::CreateTestServer(const FilePath& test_server_base) {
test_server_.reset(new net::TestServer(
net::TestServer::TYPE_HTTP,
net::TestServer::kLocalhost,
- test_server_base));
+ net::TestServer::GetSourceRelativePath(test_server_base)));
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698