summaryrefslogtreecommitdiffstats
path: root/skia/ext/bitmap_platform_device_cairo.h
diff options
context:
space:
mode:
authorreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-22 00:36:03 +0000
committerreed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-22 00:36:03 +0000
commitc5f057dbbb26bced0b549a6e4f5eb9d120d55627 (patch)
tree36d1ee06152d7d68385f60688b072cba2f3ce70f /skia/ext/bitmap_platform_device_cairo.h
parent45efd7883bbd0ba61d53fab6342d76b28932be7b (diff)
downloadchromium_src-c5f057dbbb26bced0b549a6e4f5eb9d120d55627.zip
chromium_src-c5f057dbbb26bced0b549a6e4f5eb9d120d55627.tar.gz
chromium_src-c5f057dbbb26bced0b549a6e4f5eb9d120d55627.tar.bz2
SkDevice virtual changed from onCreateCompatibleDevice to onCreateDevice
BUG= Review URL: https://codereview.chromium.org/174513004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/bitmap_platform_device_cairo.h')
-rw-r--r--skia/ext/bitmap_platform_device_cairo.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/skia/ext/bitmap_platform_device_cairo.h b/skia/ext/bitmap_platform_device_cairo.h
index 8d8f388..6952e9a 100644
--- a/skia/ext/bitmap_platform_device_cairo.h
+++ b/skia/ext/bitmap_platform_device_cairo.h
@@ -93,9 +93,8 @@ class BitmapPlatformDevice : public SkBitmapDevice, public PlatformDevice {
const PlatformRect* src_rect) OVERRIDE;
protected:
- virtual SkBaseDevice* onCreateCompatibleDevice(SkBitmap::Config, int width,
- int height, bool isOpaque,
- Usage usage) OVERRIDE;
+ virtual SkBaseDevice* onCreateDevice(const SkImageInfo& info,
+ Usage usage) OVERRIDE;
private:
static BitmapPlatformDevice* Create(int width, int height, bool is_opaque,