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