diff options
Diffstat (limited to 'skia/ext/bitmap_platform_device_mac.h')
-rw-r--r-- | skia/ext/bitmap_platform_device_mac.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/skia/ext/bitmap_platform_device_mac.h b/skia/ext/bitmap_platform_device_mac.h index 20d8918..5723c85 100644 --- a/skia/ext/bitmap_platform_device_mac.h +++ b/skia/ext/bitmap_platform_device_mac.h @@ -58,9 +58,7 @@ class BitmapPlatformDevice : public PlatformDevice { BitmapPlatformDevice(const BitmapPlatformDevice& other); virtual ~BitmapPlatformDevice(); - virtual SkDeviceFactory* getDeviceFactory() { - return SkNEW(BitmapPlatformDeviceFactory); - } + virtual SkDeviceFactory* getDeviceFactory(); // See warning for copy constructor above. BitmapPlatformDevice& operator=(const BitmapPlatformDevice& other); @@ -71,7 +69,7 @@ class BitmapPlatformDevice : public PlatformDevice { virtual void DrawToContext(CGContextRef context, int x, int y, const CGRect* src_rect); virtual void makeOpaque(int x, int y, int width, int height); - virtual bool IsVectorial() { return false; } + virtual bool IsVectorial(); // Returns the color value at the specified location. This does not // consider any transforms that may be set on the device. |