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

Unified Diff: include/core/SkDevice.h

Issue 779543004: Revert of Revert of remove unused device::eraseColor (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 | no next file » | 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 3c26baca5b012da04a84b38b470f926e6bb279dc..833e452fab93f6213b5bcfcd06cd41ffdbefcfcc 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -165,9 +165,6 @@
* Ignores the clip.
*/
virtual void clear(SkColor color) = 0;
-
- SK_ATTR_DEPRECATED("use clear() instead")
- void eraseColor(SkColor eraseColor) { this->clear(eraseColor); }
/** 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 | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698