Index: app/clipboard/clipboard_mac.mm |
=================================================================== |
--- app/clipboard/clipboard_mac.mm (revision 62861) |
+++ app/clipboard/clipboard_mac.mm (working copy) |
@@ -9,7 +9,7 @@ |
#include "base/file_path.h" |
#include "base/logging.h" |
#include "base/mac_util.h" |
-#include "base/scoped_cftyperef.h" |
+#include "base/mac/scoped_cftyperef.h" |
#include "base/scoped_nsobject.h" |
#include "base/sys_string_conversions.h" |
#include "base/utf_string_conversions.h" |
@@ -105,16 +105,16 @@ |
const gfx::Size* size = reinterpret_cast<const gfx::Size*>(size_data); |
// Safe because the image goes away before the call returns. |
- scoped_cftyperef<CFDataRef> data( |
+ base::win::ScopedCFTypeRef<CFDataRef> data( |
CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, |
reinterpret_cast<const UInt8*>(pixel_data), |
size->width()*size->height()*4, |
kCFAllocatorNull)); |
- scoped_cftyperef<CGDataProviderRef> data_provider( |
+ base::win::ScopedCFTypeRef<CGDataProviderRef> data_provider( |
CGDataProviderCreateWithCFData(data)); |
- scoped_cftyperef<CGImageRef> cgimage( |
+ base::win::ScopedCFTypeRef<CGImageRef> cgimage( |
CGImageCreate(size->width(), |
size->height(), |
8, |