summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_paths_internal.h
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/common/chrome_paths_internal.h
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/common/chrome_paths_internal.h')
-rw-r--r--chrome/common/chrome_paths_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/chrome_paths_internal.h b/chrome/common/chrome_paths_internal.h
index dc61634..38d4dc8 100644
--- a/chrome/common/chrome_paths_internal.h
+++ b/chrome/common/chrome_paths_internal.h
@@ -38,7 +38,7 @@ bool GetUserDownloadsDirectory(FilePath* result);
bool GetUserDesktop(FilePath* result);
#if defined(OS_MACOSX)
-NSBundle* GetFrameworkBundle();
+FilePath GetFrameworkBundlePath();
#endif // OS_MACOSX
} // namespace chrome