Index: include/core/SkWriter32.h |
diff --git a/include/core/SkWriter32.h b/include/core/SkWriter32.h |
index ba8893eab960244f7418612fc9666f2a0bf97f4b..9fb1f7b85b654bb9ebf687910ce40be014243fd7 100644 |
--- a/include/core/SkWriter32.h |
+++ b/include/core/SkWriter32.h |
@@ -46,7 +46,8 @@ public: |
// return the current offset (will always be a multiple of 4) |
size_t bytesWritten() const { return fSize; } |
- // DEPRECATED: use bytesWritten instead TODO(mtklein): clean up |
+ |
+ SK_ATTR_DEPRECATED("use bytesWritten") |
size_t size() const { return this->bytesWritten(); } |
// Returns true if we've written only into the storage passed into constructor or reset. |