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

Unified Diff: ui/gfx/test_suite.cc

Issue 9187053: Transition to base/mac/bundle_locations.h step 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review comments. Created 8 years, 11 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
« no previous file with comments | « chrome/test/base/chrome_test_suite.cc ('k') | webkit/tools/test_shell/run_all_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/test_suite.cc
diff --git a/ui/gfx/test_suite.cc b/ui/gfx/test_suite.cc
index 1901ed003f69e1f4b28788244d532acc96dc0492..949f5f10148d38ea64fbc7b094c3817372a7b87c 100644
--- a/ui/gfx/test_suite.cc
+++ b/ui/gfx/test_suite.cc
@@ -12,7 +12,7 @@
#include "ui/gfx/gfx_paths.h"
#if defined(OS_MACOSX)
-#include "base/mac/foundation_util.h"
+#include "base/mac/bundle_locations.h"
#endif
GfxTestSuite::GfxTestSuite(int argc, char** argv) : TestSuite(argc, argv) {}
@@ -37,7 +37,7 @@ void GfxTestSuite::Initialize() {
#else
#error Unknown branding
#endif
- base::mac::SetOverrideAppBundlePath(path);
+ base::mac::SetOverrideFrameworkBundlePath(path);
#elif defined(OS_POSIX)
FilePath pak_dir;
PathService::Get(base::DIR_MODULE, &pak_dir);
@@ -56,7 +56,7 @@ void GfxTestSuite::Shutdown() {
ui::ResourceBundle::CleanupSharedInstance();
#if defined(OS_MACOSX)
- base::mac::SetOverrideAppBundle(NULL);
+ base::mac::SetOverrideFrameworkBundle(NULL);
#endif
base::TestSuite::Shutdown();
}
« no previous file with comments | « chrome/test/base/chrome_test_suite.cc ('k') | webkit/tools/test_shell/run_all_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698