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

Unified Diff: webkit/glue/unittest_test_server.h

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
« net/test/remote_test_server.h ('K') | « sync/test/local_sync_test_server.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/unittest_test_server.h
diff --git a/webkit/glue/unittest_test_server.h b/webkit/glue/unittest_test_server.h
index 815e62b94aaa176bbb3b61956a5e2dcba6af1719..5a2f576e39037345b1bb62f1e2cf45fe0fdc471d 100644
--- a/webkit/glue/unittest_test_server.h
+++ b/webkit/glue/unittest_test_server.h
@@ -15,7 +15,8 @@ class UnittestTestServer : public net::TestServer {
UnittestTestServer()
: net::TestServer(net::TestServer::TYPE_HTTP,
net::TestServer::kLocalhost,
- base::FilePath(FILE_PATH_LITERAL("webkit/data"))) {
+ net::TestServer::GetSourceRelativePath(
+ base::FilePath(FILE_PATH_LITERAL("webkit/data")))) {
}
};
« net/test/remote_test_server.h ('K') | « sync/test/local_sync_test_server.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698