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