| 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 cb63fb1464cc312a393a082090aa012a62868974..c85d602f6e29716e554657aed94639e7f0f7d1f0 100644
|
| --- a/chrome/test/base/in_process_browser_test.cc
|
| +++ b/chrome/test/base/in_process_browser_test.cc
|
| @@ -54,6 +54,7 @@
|
|
|
| #if defined(OS_MACOSX)
|
| #include "base/mac/scoped_nsautorelease_pool.h"
|
| +#include "chrome/test/base/scoped_bundle_swizzler_mac.h"
|
| #endif
|
|
|
| #if defined(OS_WIN)
|
| @@ -186,6 +187,10 @@ InProcessBrowserTest::InProcessBrowserTest()
|
| // 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));
|
| +
|
| +#if defined(OS_MACOSX)
|
| + bundle_swizzler_.reset(new ScopedBundleSwizzlerMac);
|
| +#endif
|
| }
|
|
|
| InProcessBrowserTest::~InProcessBrowserTest() {
|
| @@ -374,6 +379,7 @@ void InProcessBrowserTest::TearDown() {
|
| #if defined(OS_WIN)
|
| com_initializer_.reset();
|
| #endif
|
| +
|
| BrowserTestBase::TearDown();
|
| }
|
|
|
|
|