Index: skia/ext/vector_platform_device_skia.h |
=================================================================== |
--- skia/ext/vector_platform_device_skia.h (revision 91505) |
+++ skia/ext/vector_platform_device_skia.h (working copy) |
@@ -22,15 +22,6 @@ |
class BitmapPlatformDevice; |
-class VectorPlatformDeviceSkiaFactory : public SkDeviceFactory { |
- public: |
- virtual SkDevice* newDevice(SkCanvas* notUsed, SkBitmap::Config config, |
- int width, int height, bool isOpaque, |
- bool isForLayer); |
- private: |
- SkPDFDeviceFactory factory_; |
-}; |
- |
class VectorPlatformDeviceSkia : public PlatformDevice { |
public: |
SK_API VectorPlatformDeviceSkia(SkPDFDevice* pdf_device); |
@@ -89,8 +80,9 @@ |
const SkPaint&); |
protected: |
- // Override from SkDevice (through PlatformDevice). |
- virtual SkDeviceFactory* onNewDeviceFactory(); |
+ virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, |
+ int height, bool isOpaque, |
+ Usage usage); |
private: |
SkRefPtr<SkPDFDevice> pdf_device_; |