| Index: bench/ETCBitmapBench.cpp
|
| diff --git a/bench/ETCBitmapBench.cpp b/bench/ETCBitmapBench.cpp
|
| index 36573c8245ad6e343e2f81de053fac776a5d3a27..767106f94ccff0e4ca8820d21e8a7281a76743f6 100644
|
| --- a/bench/ETCBitmapBench.cpp
|
| +++ b/bench/ETCBitmapBench.cpp
|
| @@ -9,7 +9,7 @@
|
| #include "Resources.h"
|
| #include "SkCanvas.h"
|
| #include "SkData.h"
|
| -#include "SkDecodingImageGenerator.h"
|
| +#include "SkImageGenerator.h"
|
| #include "SkImageDecoder.h"
|
| #include "SkOSFile.h"
|
| #include "SkPixelRef.h"
|
| @@ -151,9 +151,8 @@ protected:
|
| }
|
|
|
| // Install pixel ref
|
| - if (!SkInstallDiscardablePixelRef(
|
| - SkDecodingImageGenerator::Create(
|
| - fPKMData, SkDecodingImageGenerator::Options()), &(this->fBitmap))) {
|
| + if (!SkInstallDiscardablePixelRef(SkImageGenerator::NewFromData(fPKMData),
|
| + &(this->fBitmap))) {
|
| SkDebugf("Could not install discardable pixel ref.\n");
|
| return;
|
| }
|
|
|