aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DeferredCanvasTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/DeferredCanvasTest.cpp')
-rw-r--r--tests/DeferredCanvasTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp
index d56bba609f..8f72603696 100644
--- a/tests/DeferredCanvasTest.cpp
+++ b/tests/DeferredCanvasTest.cpp
@@ -241,7 +241,8 @@ static void TestDeferredCanvasBitmapCaching(skiatest::Reporter* reporter) {
store.allocPixels();
SkDevice device(store);
NotificationCounter notificationCounter;
- SkDeferredCanvas canvas(&device, &notificationCounter);
+ SkDeferredCanvas canvas(&device);
+ canvas.setNotificationClient(&notificationCounter);
const int imageCount = 2;
SkBitmap sourceImages[imageCount];