Index: tests/BitmapCopyTest.cpp |
diff --git a/tests/BitmapCopyTest.cpp b/tests/BitmapCopyTest.cpp |
index 74f4ac9d347b8b7f8e1df52da04d11f51bb341da..40cfbe0d54232969c0873a395a10db84849c4071 100644 |
--- a/tests/BitmapCopyTest.cpp |
+++ b/tests/BitmapCopyTest.cpp |
@@ -336,9 +336,8 @@ DEF_TEST(BitmapCopy, reporter) { |
// Test with a very large configuration without pixel buffer |
// attached. |
SkBitmap tstSafeSize; |
- tstSafeSize.setConfig(SkImageInfo::Make(100000000U, 100000000U, |
- gPairs[i].fColorType, |
- kPremul_SkAlphaType)); |
+ tstSafeSize.setInfo(SkImageInfo::Make(100000000U, 100000000U, |
+ gPairs[i].fColorType, kPremul_SkAlphaType)); |
int64_t safeSize = tstSafeSize.computeSafeSize64(); |
if (safeSize < 0) { |
ERRORF(reporter, "getSafeSize64() negative: %s", |