Index: webkit/common/cursors/webcursor_mac.mm |
diff --git a/webkit/common/cursors/webcursor_mac.mm b/webkit/common/cursors/webcursor_mac.mm |
index 11fd937660e37cca005eac9a663b242e2bf0e3a2..bbf18a44a6244fc14ebdd59d18a43ae8f66490d1 100644 |
--- a/webkit/common/cursors/webcursor_mac.mm |
+++ b/webkit/common/cursors/webcursor_mac.mm |
@@ -158,18 +158,17 @@ CGImageRef CreateCGImageFromCustomData(const std::vector<char>& custom_data, |
data = NULL; |
} |
- base::mac::ScopedCFTypeRef<CGColorSpaceRef> cg_color( |
+ base::ScopedCFTypeRef<CGColorSpaceRef> cg_color( |
CGColorSpaceCreateDeviceRGB()); |
// The settings here match SetCustomData() below; keep in sync. |
- base::mac::ScopedCFTypeRef<CGContextRef> context( |
- CGBitmapContextCreate(data, |
- size.width(), |
- size.height(), |
- 8, |
- size.width()*4, |
- cg_color.get(), |
- kCGImageAlphaPremultipliedLast | |
- kCGBitmapByteOrder32Big)); |
+ base::ScopedCFTypeRef<CGContextRef> context(CGBitmapContextCreate( |
+ data, |
+ size.width(), |
+ size.height(), |
+ 8, |
+ size.width() * 4, |
+ cg_color.get(), |
+ kCGImageAlphaPremultipliedLast | kCGBitmapByteOrder32Big)); |
return CGBitmapContextCreateImage(context.get()); |
} |