Index: tests/ImageDecodingTest.cpp |
diff --git a/tests/ImageDecodingTest.cpp b/tests/ImageDecodingTest.cpp |
index b30f551e0c60965fe0dded5e615b02eeb55f7670..21c774727d86d6286f3d2881b26ce0594644af9a 100644 |
--- a/tests/ImageDecodingTest.cpp |
+++ b/tests/ImageDecodingTest.cpp |
@@ -509,7 +509,7 @@ |
SkStream::NewFromFile(path.c_str())); |
if (sk_exists(path.c_str())) { |
SkBitmap bm; |
- SkAssertResult(bm.setInfo(SkImageInfo::MakeN32Premul(1, 1))); |
+ SkAssertResult(bm.setConfig(SkImageInfo::MakeN32Premul(1, 1))); |
REPORTER_ASSERT(reporter, |
NULL != install_pixel_ref(&bm, stream.detach(), 1, true)); |
SkAutoLockPixels alp(bm); |