Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Unified Diff: ui/shell_dialogs/run_all_unittests.cc

Issue 1880313003: Mac File Dialogs: Remove SaveAccessoryView.xib (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
« no previous file with comments | « ui/shell_dialogs/Todo: add gn target shell_dialogs_unittests ('k') | ui/shell_dialogs/select_file_dialog_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698