remove deprecated SkWriter32::size()
Change-Id: I06d4cbbb88795f0e4b6c275bb40dfad3763406d7 Reviewed-on: https://skia-review.googlesource.com/c/159484 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
5f8ef8c1da
commit
252756e533
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user