| Index: ui/shell_dialogs/run_all_unittests.cc
|
| diff --git a/ui/shell_dialogs/run_all_unittests.cc b/ui/shell_dialogs/run_all_unittests.cc
|
| index 1f5b39d808276965dede2f02449d0bd69d8e6543..601db710ec40ce0e981e818710cd79fed33d50ca 100644
|
| --- a/ui/shell_dialogs/run_all_unittests.cc
|
| +++ b/ui/shell_dialogs/run_all_unittests.cc
|
| @@ -41,14 +41,6 @@ void ShellDialogsTestSuite::Initialize() {
|
| #if defined(OS_MACOSX)
|
| mock_cr_app::RegisterMockCrApp();
|
|
|
| - // Set up framework bundle so that tests on Mac can access nib files.
|
| - base::FilePath path;
|
| - PathService::Get(base::DIR_EXE, &path);
|
| - // The three DirName() calls strip "Contents/MacOS/<binary>" from the path.
|
| - path = path.DirName().DirName().DirName();
|
| - path = path.Append(FILE_PATH_LITERAL("shell_dialogs_unittests.app"));
|
| - base::mac::SetOverrideFrameworkBundlePath(path);
|
| -
|
| // Setup resource bundle.
|
| ui::MaterialDesignController::Initialize();
|
| ui::ResourceBundle::InitSharedInstanceWithLocale(
|
| @@ -59,7 +51,6 @@ void ShellDialogsTestSuite::Initialize() {
|
| void ShellDialogsTestSuite::Shutdown() {
|
| #if defined(OS_MACOSX)
|
| ui::ResourceBundle::CleanupSharedInstance();
|
| - base::mac::SetOverrideFrameworkBundle(NULL);
|
| #endif
|
| base::TestSuite::Shutdown();
|
| }
|
|
|