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

Unified Diff: chrome/browser/web_applications/web_app_mac.mm

Issue 16917011: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with fixed off-by-1 in git-clang-format Created 7 years, 6 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/browser/ui/cocoa/tabs/tab_view.mm ('k') | chrome/common/mac/cfbundle_blocker.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/web_applications/web_app_mac.mm
diff --git a/chrome/browser/web_applications/web_app_mac.mm b/chrome/browser/web_applications/web_app_mac.mm
index fa67351784d9e3c4749a0f61875e8d6db772ee8b..6f72d47b9604eff68ee93578b5b711f1cb55ef1d 100644
--- a/chrome/browser/web_applications/web_app_mac.mm
+++ b/chrome/browser/web_applications/web_app_mac.mm
@@ -533,7 +533,7 @@ bool WebAppShortcutCreator::UpdateInternalBundleIdentifier() const {
base::FilePath WebAppShortcutCreator::GetAppBundleById(
const std::string& bundle_id) const {
- base::mac::ScopedCFTypeRef<CFStringRef> bundle_id_cf(
+ base::ScopedCFTypeRef<CFStringRef> bundle_id_cf(
base::SysUTF8ToCFStringRef(bundle_id));
CFURLRef url_ref = NULL;
OSStatus status = LSFindApplicationForInfo(
@@ -541,7 +541,7 @@ base::FilePath WebAppShortcutCreator::GetAppBundleById(
if (status != noErr)
return base::FilePath();
- base::mac::ScopedCFTypeRef<CFURLRef> url(url_ref);
+ base::ScopedCFTypeRef<CFURLRef> url(url_ref);
NSString* path_string = [base::mac::CFToNSCast(url.get()) path];
return base::FilePath([path_string fileSystemRepresentation]);
}
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_view.mm ('k') | chrome/common/mac/cfbundle_blocker.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698