Index: skia/ext/bitmap_platform_device_mac.cc |
diff --git a/skia/ext/bitmap_platform_device_mac.cc b/skia/ext/bitmap_platform_device_mac.cc |
index a62c3cf0abf81c225b62fc7b00f3621d2d8b7e73..259dc5926f2268f8442ef947eb80cbaca55eb973 100644 |
--- a/skia/ext/bitmap_platform_device_mac.cc |
+++ b/skia/ext/bitmap_platform_device_mac.cc |
@@ -146,7 +146,7 @@ BitmapPlatformDevice* BitmapPlatformDevice::CreateAndClear(int width, |
bool is_opaque) { |
BitmapPlatformDevice* device = Create(NULL, width, height, is_opaque); |
if (!is_opaque) |
- device->accessBitmap(true).eraseARGB(0, 0, 0, 0); |
+ device->clear(0); |
return device; |
} |