| Index: src/core/SkValidatingReadBuffer.cpp
|
| diff --git a/src/core/SkValidatingReadBuffer.cpp b/src/core/SkValidatingReadBuffer.cpp
|
| index 2dd70706db079b6ea23dba98017915080efb1ab9..326d0cf5754f5c66747aa74c53ccb25fabebaf59 100644
|
| --- a/src/core/SkValidatingReadBuffer.cpp
|
| +++ b/src/core/SkValidatingReadBuffer.cpp
|
| @@ -210,12 +210,6 @@ uint32_t SkValidatingReadBuffer::getArrayCount() {
|
| return fError ? 0 : *(uint32_t*)fReader.peek();
|
| }
|
|
|
| -SkTypeface* SkValidatingReadBuffer::readTypeface() {
|
| - SkASSERT(false);
|
| - // TODO: Implement this (securely) when needed
|
| - return nullptr;
|
| -}
|
| -
|
| bool SkValidatingReadBuffer::validateAvailable(size_t size) {
|
| return this->validate((size <= SK_MaxU32) && fReader.isAvailable(static_cast<uint32_t>(size)));
|
| }
|
|
|