Index: tests/ShaderOpacityTest.cpp |
diff --git a/tests/ShaderOpacityTest.cpp b/tests/ShaderOpacityTest.cpp |
index 90d25d731acfaa43467f0b60c0b5b3c52c963a91..506c7cd36ac42592e9ff9c625bf12c32a3505c65 100644 |
--- a/tests/ShaderOpacityTest.cpp |
+++ b/tests/ShaderOpacityTest.cpp |
@@ -14,7 +14,7 @@ |
SkImageInfo info = SkImageInfo::MakeN32Premul(2, 2); |
SkBitmap bmp; |
- bmp.setInfo(info); |
+ bmp.setConfig(info); |
// test 1: bitmap without pixel data |
SkShader* shader = SkShader::CreateBitmapShader(bmp, |