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

Unified Diff: include/core/SkDevice.h

Issue 778373003: remove device::clear -- no longer called (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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 | « no previous file | include/device/xps/SkXPSDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkDevice.h
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index dc5e32bffd993980f08fd82f8127bc0e1f9ab6d2..fbb53397abc4b43195445073305f6c91db9391c4 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -161,6 +161,7 @@ protected:
virtual void setMatrixClip(const SkMatrix&, const SkRegion&,
const SkClipStack&) {};
+#ifdef SK_SUPPORT_LEGACY_DEVICE_CLEAR
private:
/** Clears the entire device to the specified color (including alpha).
* Ignores the clip.
@@ -168,6 +169,7 @@ private:
*/
virtual void clear(SkColor color);
public:
+#endif
/** These are called inside the per-device-layer loop for each draw call.
When these are called, we have already applied any saveLayer operations,
« no previous file with comments | « no previous file | include/device/xps/SkXPSDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698