Index: skia/ext/bitmap_platform_device_win.h |
=================================================================== |
--- skia/ext/bitmap_platform_device_win.h (revision 90617) |
+++ skia/ext/bitmap_platform_device_win.h (working copy) |
@@ -11,13 +11,6 @@ |
namespace skia { |
-class BitmapPlatformDeviceFactory : public SkDeviceFactory { |
- public: |
- virtual SkDevice* newDevice(SkCanvas* ignored, SkBitmap::Config config, |
- int width, int height, |
- bool isOpaque, bool isForLayer); |
-}; |
- |
// A device is basically a wrapper around SkBitmap that provides a surface for |
// SkCanvas to draw into. Our device provides a surface Windows can also write |
// to. BitmapPlatformDevice creates a bitmap using CreateDIBSection() in a |
@@ -75,8 +68,8 @@ |
// starts accessing pixel data. |
virtual void onAccessBitmap(SkBitmap* bitmap); |
- // Override SkDevice. |
- virtual SkDeviceFactory* onNewDeviceFactory(); |
+ virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, |
+ int height, bool isOpaque, Usage); |
private: |
// Reference counted data that can be shared between multiple devices. This |