From da90173fabbe17da8377e0819cb50e61d4f7ad7c Mon Sep 17 00:00:00 2001 From: "mark@chromium.org" Date: Wed, 7 Oct 2009 22:57:09 +0000 Subject: 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 --- chrome/common/chrome_paths_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/common/chrome_paths_internal.h') 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 -- cgit v1.1