| Index: tests/CachedDecodingPixelRefTest.cpp
|
| diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp
|
| index eff77e215da9ab68e8cfb47dd8e8ef3430756e7a..10e33ba841be16bbb079ad4397a340a53bd949c2 100644
|
| --- a/tests/CachedDecodingPixelRefTest.cpp
|
| +++ b/tests/CachedDecodingPixelRefTest.cpp
|
| @@ -183,9 +183,7 @@
|
| SkASSERT((fType <= kLast_TestType) && (fType >= 0));
|
| }
|
| virtual ~TestImageGenerator() { }
|
| -
|
| -protected:
|
| - virtual bool onGetInfo(SkImageInfo* info) SK_OVERRIDE {
|
| + virtual bool getInfo(SkImageInfo* info) SK_OVERRIDE {
|
| REPORTER_ASSERT(fReporter, NULL != info);
|
| if ((NULL == info) || (kFailGetInfo_TestType == fType)) {
|
| return false;
|
| @@ -196,9 +194,9 @@
|
| info->fAlphaType = kOpaque_SkAlphaType;
|
| return true;
|
| }
|
| -
|
| - virtual bool onGetPixels(const SkImageInfo& info, void* pixels, size_t rowBytes,
|
| - SkPMColor ctable[], int* ctableCount) SK_OVERRIDE {
|
| + virtual bool getPixels(const SkImageInfo& info,
|
| + void* pixels,
|
| + size_t rowBytes) SK_OVERRIDE {
|
| REPORTER_ASSERT(fReporter, pixels != NULL);
|
| size_t minRowBytes
|
| = static_cast<size_t>(info.fWidth * info.bytesPerPixel());
|
|
|