Index: skia/ext/platform_device_mac.cc |
=================================================================== |
--- skia/ext/platform_device_mac.cc (revision 97282) |
+++ skia/ext/platform_device_mac.cc (working copy) |
@@ -22,10 +22,9 @@ |
return NULL; |
} |
-PlatformDevice::PlatformDevice(const SkBitmap& bitmap) |
- : SkDevice(bitmap) { |
- SetPlatformDevice(this, this); |
-} |
+PlatformDevice::PlatformDevice(SkDevice* device) |
+ : device_(device) { |
+} |
bool PlatformDevice::IsNativeFontRenderingAllowed() { |
return true; |