From 252756e533d2959047e821f30369592927d12c71 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Thu, 4 Oct 2018 10:25:36 -0400 Subject: [PATCH] remove deprecated SkWriter32::size() Change-Id: I06d4cbbb88795f0e4b6c275bb40dfad3763406d7 Reviewed-on: https://skia-review.googlesource.com/c/159484 Reviewed-by: Brian Osman Commit-Queue: Mike Klein --- src/core/SkWriter32.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/core/SkWriter32.h b/src/core/SkWriter32.h index a29fba097d..4a8273e63e 100644 --- a/src/core/SkWriter32.h +++ b/src/core/SkWriter32.h @@ -42,9 +42,6 @@ public: // buffer provided in the constructor or the most recent call to reset. bool usingInitialStorage() const { return fData == fExternal; } - SK_ATTR_DEPRECATED("use bytesWritten") - size_t size() const { return this->bytesWritten(); } - void reset(void* external = nullptr, size_t externalBytes = 0) { // we cast this pointer to int* and float* at times, so assert that it is aligned. SkASSERT(SkIsAlign4((uintptr_t)external));