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

Unified Diff: skia/ext/bitmap_platform_device_mac.cc

Issue 1013453002: remove deprecated onCreateCompatibleDevice (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months 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.h ('k') | skia/ext/bitmap_platform_device_skia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/bitmap_platform_device_mac.cc
diff --git a/skia/ext/bitmap_platform_device_mac.cc b/skia/ext/bitmap_platform_device_mac.cc
index 1ad23e67ee166a643b00c4f458d9db6e989e38f7..066e93ff198b09e3a84302674e8bfd33ca86312a 100644
--- a/skia/ext/bitmap_platform_device_mac.cc
+++ b/skia/ext/bitmap_platform_device_mac.cc
@@ -272,14 +272,6 @@ void BitmapPlatformDevice::setMatrixClip(const SkMatrix& transform,
SetMatrixClip(transform, region);
}
-SkBaseDevice* BitmapPlatformDevice::onCreateCompatibleDevice(
- const CreateInfo& cinfo) {
- const SkImageInfo& info = cinfo.fInfo;
- const bool do_clear = !info.isOpaque();
- SkASSERT(info.colorType() == kN32_SkColorType);
- return Create(NULL, info.width(), info.height(), info.isOpaque(), do_clear);
-}
-
SkBaseDevice* BitmapPlatformDevice::onCreateDevice(const CreateInfo& cinfo,
const SkPaint*) {
const SkImageInfo& info = cinfo.fInfo;
« no previous file with comments | « skia/ext/bitmap_platform_device_mac.h ('k') | skia/ext/bitmap_platform_device_skia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698