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

Unified Diff: src/utils/SkDeferredCanvas.cpp

Issue 327263002: remove SK_SUPPORT_LEGACY_DEVICE_CONFIG code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 6 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 | « src/gpu/SkGpuDevice.cpp ('k') | src/utils/SkGatherPixelRefsAndRects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkDeferredCanvas.cpp
diff --git a/src/utils/SkDeferredCanvas.cpp b/src/utils/SkDeferredCanvas.cpp
index e244505263d57079e379b89753279f6f454c18b1..ea7d71e2529e412fa6d007b11613e7546d141dc4 100644
--- a/src/utils/SkDeferredCanvas.cpp
+++ b/src/utils/SkDeferredCanvas.cpp
@@ -159,9 +159,6 @@ public:
virtual int width() const SK_OVERRIDE;
virtual int height() const SK_OVERRIDE;
-#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG
- virtual SkBitmap::Config config() const SK_OVERRIDE;
-#endif
virtual bool isOpaque() const SK_OVERRIDE;
virtual SkImageInfo imageInfo() const SK_OVERRIDE;
@@ -437,12 +434,6 @@ int SkDeferredDevice::height() const {
return immediateDevice()->height();
}
-#ifdef SK_SUPPORT_LEGACY_DEVICE_CONFIG
-SkBitmap::Config SkDeferredDevice::config() const {
- return immediateDevice()->config();
-}
-#endif
-
bool SkDeferredDevice::isOpaque() const {
return immediateDevice()->isOpaque();
}
« no previous file with comments | « src/gpu/SkGpuDevice.cpp ('k') | src/utils/SkGatherPixelRefsAndRects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698