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