From 0985c558fc7e014f5680a7532270c6cbad2bca6a Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 2 Jul 2012 19:36:47 +0000 Subject: fix type git-svn-id: http://skia.googlecode.com/svn/trunk@4428 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkStream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/core/SkStream.cpp b/src/core/SkStream.cpp index f0e52c7efb..ff2202d5ae 100644 --- a/src/core/SkStream.cpp +++ b/src/core/SkStream.cpp @@ -93,13 +93,13 @@ size_t SkStream::readPackedUInt() { } } -SkData* SkStream::readStream() { +SkData* SkStream::readData() { size_t size = this->readU32(); if (0 == size) { return SkData::NewEmpty(); } else { void* buffer = sk_malloc_throw(size); - stream->read(buffer, size); + this->read(buffer, size); return SkData::NewFromMalloc(buffer, size); } } -- cgit v1.2.3