Index: skia/ext/platform_device_win.cc |
=================================================================== |
--- skia/ext/platform_device_win.cc (revision 96545) |
+++ skia/ext/platform_device_win.cc (working copy) |
@@ -51,10 +51,16 @@ |
SkASSERT(res != 0); |
} |
+PlatformDevice::PlatformDevice(SkDevice* device) : device_(device) { |
+ SetPlatformDevice(device_, this, true); |
+} |
+ |
+#if 0 |
PlatformDevice::PlatformDevice(const SkBitmap& bitmap) |
: SkDevice(bitmap) { |
SetPlatformDevice(this, this); |
} |
+#endif |
void PlatformDevice::EndPlatformPaint() { |
// We don't clear the DC here since it will be likely to be used again. |