| Index: tests/CachedDecodingPixelRefTest.cpp
|
| diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp
|
| index b3eb5327d91291fe001aab9cef1e09889f0fdfa1..92e9d785491ef3dc349dc36bd8c980f64f1acf5e 100644
|
| --- a/tests/CachedDecodingPixelRefTest.cpp
|
| +++ b/tests/CachedDecodingPixelRefTest.cpp
|
| @@ -350,7 +350,7 @@
|
| SkCanvas canvas(bitmap);
|
| const SkColor kDefaultColor = 0xffabcdef;
|
| canvas.clear(kDefaultColor);
|
| - canvas.drawImage(image, 0, 0, NULL);
|
| + image->draw(&canvas, 0, 0, NULL);
|
| if (TestImageGenerator::kSucceedGetPixels_TestType == test) {
|
| REPORTER_ASSERT(
|
| r, TestImageGenerator::Color() == *bitmap.getAddr32(0, 0));
|
|
|