Index: skia/ext/vector_platform_device_linux.h |
diff --git a/skia/ext/vector_platform_device_linux.h b/skia/ext/vector_platform_device_linux.h |
index c6cff1651c0fc6d7e478c6bd350c96e6b8bb7b9c..1cf8a0c551dc152359ffb427ab0d9c90d262585c 100644 |
--- a/skia/ext/vector_platform_device_linux.h |
+++ b/skia/ext/vector_platform_device_linux.h |
@@ -33,12 +33,10 @@ class VectorPlatformDevice : public PlatformDevice { |
int width, int height); |
virtual ~VectorPlatformDevice(); |
- virtual SkDeviceFactory* getDeviceFactory() { |
- return SkNEW(VectorPlatformDeviceFactory); |
- } |
+ virtual SkDeviceFactory* getDeviceFactory(); |
- virtual bool IsVectorial() { return true; } |
- virtual PlatformSurface beginPlatformPaint() { return context_; } |
+ virtual bool IsVectorial(); |
+ virtual PlatformSurface beginPlatformPaint(); |
// We translate following skia APIs into corresponding Cairo APIs. |
virtual void drawBitmap(const SkDraw& draw, const SkBitmap& bitmap, |