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