Index: skia/ext/vector_platform_device_emf_win.h |
=================================================================== |
--- skia/ext/vector_platform_device_emf_win.h (revision 90617) |
+++ skia/ext/vector_platform_device_emf_win.h (working copy) |
@@ -14,11 +14,8 @@ |
namespace skia { |
-class SK_API VectorPlatformDeviceEmfFactory : public SkDeviceFactory { |
+class SK_API VectorPlatformDeviceEmfFactory { |
public: |
- virtual SkDevice* newDevice(SkCanvas* ignored, SkBitmap::Config config, |
- int width, int height, |
- bool isOpaque, bool isForLayer) OVERRIDE; |
static PlatformDevice* CreateDevice(int width, int height, bool isOpaque, |
HANDLE shared_section); |
}; |
@@ -81,8 +78,8 @@ |
bool alpha_blend_used() const { return alpha_blend_used_; } |
protected: |
- // Override from SkDevice (through PlatformDevice). |
- virtual SkDeviceFactory* onNewDeviceFactory(); |
+ virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, |
+ int height, bool isOpaque, Usage); |
private: |
// Applies the SkPaint's painting properties in the current GDI context, if |