Index: skia/ext/bitmap_platform_device_linux.h |
diff --git a/skia/ext/bitmap_platform_device_linux.h b/skia/ext/bitmap_platform_device_linux.h |
index b0934145e7822b862bfcd625d79e4cb11f67e63e..27109e31b2d7c9d0c5c46c59324a92a93e63fb77 100644 |
--- a/skia/ext/bitmap_platform_device_linux.h |
+++ b/skia/ext/bitmap_platform_device_linux.h |
@@ -85,14 +85,12 @@ class BitmapPlatformDevice : public PlatformDevice { |
// A stub copy constructor. Needs to be properly implemented. |
BitmapPlatformDevice(const BitmapPlatformDevice& other); |
- virtual SkDeviceFactory* getDeviceFactory() { |
- return SkNEW(BitmapPlatformDeviceFactory); |
- } |
+ virtual SkDeviceFactory* getDeviceFactory(); |
virtual void makeOpaque(int x, int y, int width, int height); |
// Bitmaps aren't vector graphics. |
- virtual bool IsVectorial() { return false; } |
+ virtual bool IsVectorial(); |
// If someone wants to paint on a Cairo surface version of our |
// buffer, then give them the surface we're already using. |