diff options
Diffstat (limited to 'src/core/SkBuffer.cpp')
-rw-r--r-- | src/core/SkBuffer.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/SkBuffer.cpp b/src/core/SkBuffer.cpp index 32a8011ac7..915264d957 100644 --- a/src/core/SkBuffer.cpp +++ b/src/core/SkBuffer.cpp @@ -34,13 +34,6 @@ size_t SkRBuffer::skipToAlign4() return n; } -void SkRBufferWithSizeCheck::read(void* buffer, size_t size) { - fError = fError || (fPos + size > fStop); - if (!fError && (size > 0)) { - readNoSizeCheck(buffer, size); - } -} - void* SkWBuffer::skip(size_t size) { void* result = fPos; |