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

Unified Diff: content/browser/web_contents/web_drag_source_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
Index: content/browser/web_contents/web_drag_source_mac.mm
diff --git a/content/browser/web_contents/web_drag_source_mac.mm b/content/browser/web_contents/web_drag_source_mac.mm
index c69187691cd52224673ea624fd0477ab7372148d..258af55f3fc2fd64e57fda9d0f735e7ea97cbcdf 100644
--- a/content/browser/web_contents/web_drag_source_mac.mm
+++ b/content/browser/web_contents/web_drag_source_mac.mm
@@ -104,7 +104,7 @@ NSString* GetDropLocation(NSPasteboard* pboard) {
OSSTATUS_DCHECK(false, status) << "Error finding Carbon pasteboard";
return nil;
}
- base::mac::ScopedCFTypeRef<PasteboardRef> pb_ref_scoper(pb_ref);
+ base::ScopedCFTypeRef<PasteboardRef> pb_ref_scoper(pb_ref);
PasteboardSynchronize(pb_ref);
CFURLRef drop_url = NULL;
@@ -113,7 +113,7 @@ NSString* GetDropLocation(NSPasteboard* pboard) {
OSSTATUS_DCHECK(false, status) << "Error finding drop location";
return nil;
}
- base::mac::ScopedCFTypeRef<CFURLRef> drop_url_scoper(drop_url);
+ base::ScopedCFTypeRef<CFURLRef> drop_url_scoper(drop_url);
NSString* drop_path = [base::mac::CFToNSCast(drop_url) path];
return drop_path;
@@ -443,7 +443,7 @@ NSString* GetDropLocation(NSPasteboard* pboard) {
}
if (!mimeType.empty()) {
- base::mac::ScopedCFTypeRef<CFStringRef> mimeTypeCF(
+ base::ScopedCFTypeRef<CFStringRef> mimeTypeCF(
base::SysUTF8ToCFStringRef(mimeType));
fileUTI_.reset(UTTypeCreatePreferredIdentifierForTag(
kUTTagClassMIMEType, mimeTypeCF.get(), NULL));
« no previous file with comments | « content/browser/web_contents/web_drag_source_mac.h ('k') | content/common/gpu/image_transport_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698