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

Unified Diff: base/mac/foundation_util.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 | « base/ios/device_util.mm ('k') | base/mac/launch_services_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/mac/foundation_util.mm
diff --git a/base/mac/foundation_util.mm b/base/mac/foundation_util.mm
index 71e8942f0e3e2c23c3195ce1d535057be62031bc..1897b6f784c15ea1a6b741e3b9c6d91538665f8a 100644
--- a/base/mac/foundation_util.mm
+++ b/base/mac/foundation_util.mm
@@ -383,9 +383,8 @@ std::ostream& operator<<(std::ostream& o, const CFStringRef string) {
}
std::ostream& operator<<(std::ostream& o, const CFErrorRef err) {
- base::mac::ScopedCFTypeRef<CFStringRef> desc(CFErrorCopyDescription(err));
- base::mac::ScopedCFTypeRef<CFDictionaryRef> user_info(
- CFErrorCopyUserInfo(err));
+ base::ScopedCFTypeRef<CFStringRef> desc(CFErrorCopyDescription(err));
+ base::ScopedCFTypeRef<CFDictionaryRef> user_info(CFErrorCopyUserInfo(err));
CFStringRef errorDesc = NULL;
if (user_info.get()) {
errorDesc = reinterpret_cast<CFStringRef>(
« no previous file with comments | « base/ios/device_util.mm ('k') | base/mac/launch_services_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698