Index: net/test/remote_test_server.cc |
diff --git a/net/test/remote_test_server.cc b/net/test/remote_test_server.cc |
index a4eab058005307543ba2c6eca476f0b6bae14be5..c883514641c294d3e97310dbd01b85293079ab14 100644 |
--- a/net/test/remote_test_server.cc |
+++ b/net/test/remote_test_server.cc |
@@ -161,7 +161,7 @@ base::FilePath RemoteTestServer::GetDocumentRoot() const { |
} |
bool RemoteTestServer::Init(const base::FilePath& document_root) { |
- if (document_root.IsAbsolute()) |
+ if (!document_root.IsAbsolute()) |
return false; |
// Gets ports information used by test server spawner and Python test server. |
@@ -194,9 +194,9 @@ bool RemoteTestServer::Init(const base::FilePath& document_root) { |
SetPort(test_server_port); |
SetResourcePath(document_root, base::FilePath().AppendASCII("net") |
- .AppendASCII("data") |
- .AppendASCII("ssl") |
- .AppendASCII("certificates")); |
+ .AppendASCII("data") |
+ .AppendASCII("ssl") |
+ .AppendASCII("certificates")); |
return true; |
} |