Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Unified Diff: skia/ext/bitmap_platform_device_skia.h

Issue 718243002: switch to new onCreateCompatibleDevice virtual Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skia/ext/bitmap_platform_device_mac.cc ('k') | skia/ext/bitmap_platform_device_skia.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/bitmap_platform_device_skia.h
diff --git a/skia/ext/bitmap_platform_device_skia.h b/skia/ext/bitmap_platform_device_skia.h
index f670dea2d118b073eea27ec6615fb063f7351207..3b8a28d293ea0c21783ddfe9d00df13f196a66c0 100644
--- a/skia/ext/bitmap_platform_device_skia.h
+++ b/skia/ext/bitmap_platform_device_skia.h
@@ -47,8 +47,8 @@ class BitmapPlatformDevice : public SkBitmapDevice, public PlatformDevice {
const PlatformRect* src_rect) override;
protected:
- virtual SkBaseDevice* onCreateDevice(const SkImageInfo& info,
- Usage usage) override;
+ virtual SkBaseDevice* onCreateCompatibleDevice(const CreateInfo& info)
+ override;
private:
DISALLOW_COPY_AND_ASSIGN(BitmapPlatformDevice);
« no previous file with comments | « skia/ext/bitmap_platform_device_mac.cc ('k') | skia/ext/bitmap_platform_device_skia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698