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

Unified Diff: ui/gfx/blit.cc

Issue 16917011: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: ui/gfx/blit.cc
diff --git a/ui/gfx/blit.cc b/ui/gfx/blit.cc
index 9bb7e4a1a84a647ae6c0781ce9acb46133ecd68d..a0bae8a17ed7f81be37cb8e4f45f0588401ad2d7 100644
--- a/ui/gfx/blit.cc
+++ b/ui/gfx/blit.cc
@@ -71,9 +71,9 @@ void BlitContextToContext(NativeDrawingContext dst_context,
: transform.ty;
src_rect.Offset(transform.tx, delta_y);
- base::mac::ScopedCFTypeRef<CGImageRef>
- src_image(CGBitmapContextCreateImage(src_context));
- base::mac::ScopedCFTypeRef<CGImageRef> src_sub_image(
+ base::ScopedCFTypeRef<CGImageRef> src_image(
+ CGBitmapContextCreateImage(src_context));
+ base::ScopedCFTypeRef<CGImageRef> src_sub_image(
CGImageCreateWithImageInRect(src_image, src_rect.ToCGRect()));
CGContextDrawImage(dst_context, dst_rect.ToCGRect(), src_sub_image);
#elif defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698