| Index: tests/WritePixelsTest.cpp
|
| diff --git a/tests/WritePixelsTest.cpp b/tests/WritePixelsTest.cpp
|
| index 1a527937dec4c3e87c2ed13fb029490923bb02b8..a0e305168036404436572749d8cae45e30f99fc2 100644
|
| --- a/tests/WritePixelsTest.cpp
|
| +++ b/tests/WritePixelsTest.cpp
|
| @@ -290,7 +290,7 @@
|
| // sure that the two rowBytes match (and the infos match).
|
| //
|
| static bool allocRowBytes(SkBitmap* bm, const SkImageInfo& info, size_t rowBytes) {
|
| - if (!bm->setInfo(info, rowBytes)) {
|
| + if (!bm->setConfig(info, rowBytes)) {
|
| return false;
|
| }
|
| SkPixelRef* pr = SkMallocPixelRef::NewAllocate(info, rowBytes, NULL);
|
|
|