Chromium Code Reviews| Index: skia/ext/platform_device_win.cc |
| =================================================================== |
| --- skia/ext/platform_device_win.cc (revision 97366) |
| +++ skia/ext/platform_device_win.cc (working copy) |
| @@ -51,9 +51,7 @@ |
| SkASSERT(res != 0); |
| } |
| -PlatformDevice::PlatformDevice(const SkBitmap& bitmap) |
| - : SkDevice(bitmap) { |
| - SetPlatformDevice(this, this); |
| +PlatformDevice::PlatformDevice(SkDevice* device) : device_(device) { |
| } |
| void PlatformDevice::EndPlatformPaint() { |
| @@ -233,4 +231,3 @@ |
| } |
| } // namespace skia |
| - |