Index: tests/CanvasTest.cpp |
diff --git a/tests/CanvasTest.cpp b/tests/CanvasTest.cpp |
index a1c28ddbb4fc746802ae470b30b2a7ad8993552f..7219c9e7504c6a791b2c47d03c488eda1e48bbf9 100644 |
--- a/tests/CanvasTest.cpp |
+++ b/tests/CanvasTest.cpp |
@@ -101,7 +101,7 @@ static void test_clipVisitor(skiatest::Reporter* reporter, SkCanvas* canvas) { |
SkISize size = canvas->getDeviceSize(); |
SkBitmap bm; |
- bm.setConfig(SkImageInfo::MakeN32Premul(size.width(), size.height())); |
+ bm.setInfo(SkImageInfo::MakeN32Premul(size.width(), size.height())); |
SkCanvas c(bm); |
Canvas2CanvasClipVisitor visitor(&c); |