diff options
Diffstat (limited to 'ui/gfx/blit.cc')
-rw-r--r-- | ui/gfx/blit.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gfx/blit.cc b/ui/gfx/blit.cc index 9bb7e4a..a0bae8a 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) |