| Index: net/test/local_test_server.cc
|
| diff --git a/net/test/local_test_server.cc b/net/test/local_test_server.cc
|
| index e2d334f9557e2c5e5b6e0e237c44e7234bf1510c..73236b4c33ff105d363ed29fe5f3c80834cfe645 100644
|
| --- a/net/test/local_test_server.cc
|
| +++ b/net/test/local_test_server.cc
|
| @@ -140,7 +140,7 @@ bool LocalTestServer::Stop() {
|
| }
|
|
|
| bool LocalTestServer::Init(const base::FilePath& document_root) {
|
| - if (document_root.IsAbsolute())
|
| + if (!document_root.IsAbsolute())
|
| return false;
|
|
|
| // At this point, the port that the test server will listen on is unknown.
|
| @@ -153,7 +153,7 @@ bool LocalTestServer::Init(const base::FilePath& document_root) {
|
| base::FilePath src_dir;
|
| if (!PathService::Get(base::DIR_SOURCE_ROOT, &src_dir))
|
| return false;
|
| - SetResourcePath(src_dir.Append(document_root),
|
| + SetResourcePath(document_root,
|
| src_dir.AppendASCII("net")
|
| .AppendASCII("data")
|
| .AppendASCII("ssl")
|
|
|