Index: include/core/SkDevice.h |
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h |
index 3764ff39ef9fed8d08c18392764c4a8c44835843..4f0a1a2296a0fdaf1815f2fdcf76908e68643c24 100644 |
--- a/include/core/SkDevice.h |
+++ b/include/core/SkDevice.h |
@@ -211,9 +211,7 @@ protected: |
*/ |
virtual void clear(SkColor color) = 0; |
- /** |
- * Deprecated name for clear. |
- */ |
+ 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. |