summaryrefslogtreecommitdiffstats
path: root/chrome/app/chrome_dll_main.cc
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 22:57:09 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-07 22:57:09 +0000
commitda90173fabbe17da8377e0819cb50e61d4f7ad7c (patch)
tree66ce9f2344999f22c9f88d77de0ced414308f645 /chrome/app/chrome_dll_main.cc
parent54730a1a52f6fa61d974299902c9038a8fdec7e4 (diff)
downloadchromium_src-da90173fabbe17da8377e0819cb50e61d4f7ad7c.zip
chromium_src-da90173fabbe17da8377e0819cb50e61d4f7ad7c.tar.gz
chromium_src-da90173fabbe17da8377e0819cb50e61d4f7ad7c.tar.bz2
Fix 10% Mac startup time regression. Use +[NSBundle bundleWithPath:] instead
of +[NSBundle bundleWithIdentifier:] or +[NSBundle bundleForClass:]. BUG=24118 14610 TEST=Mac startup time should improve Review URL: http://codereview.chromium.org/268011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28339 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/chrome_dll_main.cc')
-rw-r--r--chrome/app/chrome_dll_main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/app/chrome_dll_main.cc b/chrome/app/chrome_dll_main.cc
index 4422027..62d5b5a 100644
--- a/chrome/app/chrome_dll_main.cc
+++ b/chrome/app/chrome_dll_main.cc
@@ -354,7 +354,7 @@ int ChromeMain(int argc, char** argv) {
parsed_command_line.GetSwitchValue(switches::kProcessType);
#if defined(OS_MACOSX)
- mac_util::SetOverrideAppBundle(chrome::GetFrameworkBundle());
+ mac_util::SetOverrideAppBundlePath(chrome::GetFrameworkBundlePath());
#endif // OS_MACOSX
#if defined(OS_WIN)