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

Unified Diff: chrome/test/nacl/nacl_browsertest_util.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: chrome/test/nacl/nacl_browsertest_util.cc
diff --git a/chrome/test/nacl/nacl_browsertest_util.cc b/chrome/test/nacl/nacl_browsertest_util.cc
index 14ce396f85c1aa359efa3e32cc53e82667aa1d95..91b84c3ec87ad1f00a55dda5e80c98f04e9a7d9e 100644
--- a/chrome/test/nacl/nacl_browsertest_util.cc
+++ b/chrome/test/nacl/nacl_browsertest_util.cc
@@ -244,7 +244,8 @@ bool NaClBrowserTestBase::StartTestServer() {
return false;
test_server_.reset(new net::TestServer(net::TestServer::TYPE_HTTP,
net::TestServer::kLocalhost,
- document_root));
+ net::TestServer::GetSourceRelativePath(
+ document_root)));
return test_server_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698