Index: skia/ext/vector_platform_device_cairo_linux.h |
=================================================================== |
--- skia/ext/vector_platform_device_cairo_linux.h (revision 90617) |
+++ skia/ext/vector_platform_device_cairo_linux.h (working copy) |
@@ -14,15 +14,10 @@ |
namespace skia { |
-class SK_API VectorPlatformDeviceCairoFactory : public SkDeviceFactory { |
+class SK_API VectorPlatformDeviceCairoFactory { |
public: |
static PlatformDevice* CreateDevice(cairo_t* context, int width, int height, |
bool isOpaque); |
- |
- // Overridden from SkDeviceFactory: |
- virtual SkDevice* newDevice(SkCanvas* ignored, SkBitmap::Config config, |
- int width, int height, |
- bool isOpaque, bool isForLayer); |
}; |
// This device is basically a wrapper that provides a surface for SkCanvas |
@@ -88,8 +83,8 @@ |
explicit VectorPlatformDeviceCairo(PlatformSurface context, |
const SkBitmap& bitmap); |
- // Override from SkDevice (through PlatformDevice). |
- virtual SkDeviceFactory* onNewDeviceFactory(); |
+ virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, |
+ int height, bool isOpaque, Usage); |
private: |
// Apply paint's color in the context. |