Index: skia/ext/bitmap_platform_device_mac.cc |
=================================================================== |
--- skia/ext/bitmap_platform_device_mac.cc (revision 98225) |
+++ skia/ext/bitmap_platform_device_mac.cc (working copy) |
@@ -180,8 +180,9 @@ |
// data. Therefore, we do not transfer ownership to the SkDevice's bitmap. |
BitmapPlatformDevice::BitmapPlatformDevice( |
BitmapPlatformDeviceData* data, const SkBitmap& bitmap) |
- : PlatformDevice(bitmap), |
+ : SkDevice(bitmap), |
data_(data) { |
+ SetPlatformDevice(this, this); |
} |
BitmapPlatformDevice::~BitmapPlatformDevice() { |