Index: skia/ext/bitmap_platform_device_linux.h |
=================================================================== |
--- skia/ext/bitmap_platform_device_linux.h (revision 91505) |
+++ skia/ext/bitmap_platform_device_linux.h (working copy) |
@@ -44,13 +44,6 @@ |
namespace skia { |
-class BitmapPlatformDeviceFactory : public SkDeviceFactory { |
- public: |
- virtual SkDevice* newDevice(SkCanvas* ignored, SkBitmap::Config config, |
- int width, int height, |
- bool isOpaque, bool isForLayer); |
-}; |
- |
// ----------------------------------------------------------------------------- |
// This is the Linux bitmap backing for Skia. We create a Cairo image surface |
// to store the backing buffer. This buffer is BGRA in memory (on little-endian |
@@ -93,8 +86,9 @@ |
virtual cairo_t* BeginPlatformPaint(); |
protected: |
- // Override SkDevice. |
- virtual SkDeviceFactory* onNewDeviceFactory(); |
+ virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, |
+ int height, bool isOpaque, |
+ Usage usage); |
private: |
static BitmapPlatformDevice* Create(int width, int height, bool is_opaque, |