From df0ca6c858762b101bf424ff6c0522409fa195fc Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Sun, 17 Oct 2010 04:09:06 +0000 Subject: Move scoped_cftyperef from base to base/mac, use the new namespace, and name it properly (scoped_cftyperef -> ScopedCFTypeRef). TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/3855001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62887 0039d316-1c4b-4281-b951-d872f2087c98 --- gfx/blit.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gfx/blit.cc') diff --git a/gfx/blit.cc b/gfx/blit.cc index 3c4f345..88d4057 100644 --- a/gfx/blit.cc +++ b/gfx/blit.cc @@ -17,7 +17,7 @@ #if defined(OS_MACOSX) #include "base/mac_util.h" -#include "base/scoped_cftyperef.h" +#include "base/mac/scoped_cftyperef.h" #endif namespace gfx { @@ -70,9 +70,9 @@ void BlitContextToContext(NativeDrawingContext dst_context, : transform.ty; src_rect.Offset(transform.tx, delta_y); - scoped_cftyperef + base::mac::ScopedCFTypeRef src_image(CGBitmapContextCreateImage(src_context)); - scoped_cftyperef src_sub_image( + base::mac::ScopedCFTypeRef src_sub_image( CGImageCreateWithImageInRect(src_image, src_rect.ToCGRect())); CGContextDrawImage(dst_context, dst_rect.ToCGRect(), src_sub_image); #else // Linux, BSD, others -- cgit v1.1