Index: skia/ext/bitmap_platform_device_win.cc |
=================================================================== |
--- skia/ext/bitmap_platform_device_win.cc (revision 98225) |
+++ skia/ext/bitmap_platform_device_win.cc (working copy) |
@@ -165,10 +165,11 @@ |
BitmapPlatformDevice::BitmapPlatformDevice( |
BitmapPlatformDeviceData* data, |
const SkBitmap& bitmap) |
- : PlatformDevice(bitmap), |
+ : SkDevice(bitmap), |
data_(data) { |
// The data object is already ref'ed for us by create(). |
SkDEBUGCODE(begin_paint_count_ = 0); |
+ SetPlatformDevice(this, this); |
} |
BitmapPlatformDevice::~BitmapPlatformDevice() { |
@@ -262,4 +263,3 @@ |
} |
} // namespace skia |
- |