Index: tests/DeferredCanvasTest.cpp |
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp |
index fff213b6070f603841fb9346dab09fbfe941de5c..a34f5bcedc92183fc1fb86ba8c20e33937f5aa90 100644 |
--- a/tests/DeferredCanvasTest.cpp |
+++ b/tests/DeferredCanvasTest.cpp |
@@ -64,7 +64,7 @@ public: |
} |
SkImage* onNewImageSnapshot(Budgeted) override { |
- return SkNewImageFromBitmap(fBitmap, true, &this->props()); |
+ return SkNewImageFromRasterBitmap(fBitmap, true, &this->props()); |
} |
void onCopyOnWrite(ContentChangeMode mode) override { |