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

Unified Diff: include/core/SkDevice.h

Issue 807083003: remove dead SK_SUPPORT_LEGACY_DEVICE_CLEAR code (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 | src/core/SkDevice.cpp » ('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 fbb53397abc4b43195445073305f6c91db9391c4..9f3ac580080590c36989f4a657040e6a79092317 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -161,16 +161,6 @@ 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.
- * DEPRECATED : will go away when chrome subclasses have been updated
- */
- 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,
and are handling any looping from the paint, and any effects from the
« no previous file with comments | « no previous file | src/core/SkDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698