| Index: chrome/test/base/in_process_browser_test.cc
|
| diff --git a/chrome/test/base/in_process_browser_test.cc b/chrome/test/base/in_process_browser_test.cc
|
| index 8ddb920b1114100e44e5b958cc04f1142673f8cc..f2262ef88afa0b90c6e251084fa6480410ea9b4d 100644
|
| --- a/chrome/test/base/in_process_browser_test.cc
|
| +++ b/chrome/test/base/in_process_browser_test.cc
|
| @@ -59,7 +59,6 @@
|
| #include "content/public/test/test_launcher.h"
|
| #include "content/public/test/test_navigation_observer.h"
|
| #include "net/test/embedded_test_server/embedded_test_server.h"
|
| -#include "net/test/spawned_test_server/spawned_test_server.h"
|
|
|
| #if defined(OS_MACOSX)
|
| #include "base/mac/scoped_nsautorelease_pool.h"
|
| @@ -187,12 +186,12 @@ InProcessBrowserTest::InProcessBrowserTest()
|
| CreateTestServer(base::FilePath(FILE_PATH_LITERAL("chrome/test/data")));
|
| base::FilePath src_dir;
|
| CHECK(PathService::Get(base::DIR_SOURCE_ROOT, &src_dir));
|
| - base::FilePath test_data_dir = src_dir.AppendASCII("chrome/test/data");
|
|
|
| // chrome::DIR_TEST_DATA isn't going to be setup until after we call
|
| // ContentMain. However that is after tests' constructors or SetUp methods,
|
| // which sometimes need it. So just override it.
|
| - CHECK(PathService::Override(chrome::DIR_TEST_DATA, test_data_dir));
|
| + CHECK(PathService::Override(chrome::DIR_TEST_DATA,
|
| + src_dir.AppendASCII("chrome/test/data")));
|
|
|
| #if defined(OS_MACOSX)
|
| bundle_swizzler_.reset(new ScopedBundleSwizzlerMac);
|
|
|