diff options
author | 2012-08-17 14:50:16 +0000 | |
---|---|---|
committer | 2012-08-17 14:50:16 +0000 | |
commit | d433c4eb6765c1f4654f761e3aad14b9922f44cd (patch) | |
tree | ca6d42924b7a3123638e373fc83154d7de7a8f3b /tests | |
parent | f9a90847820a8ec4a3c97a2b544c622e3ca6b09a (diff) |
Cleaning up deprecated API in SkDeferredCanvas
Review URL: https://codereview.appspot.com/6461077
git-svn-id: http://skia.googlecode.com/svn/trunk@5152 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests')
-rw-r--r-- | tests/DeferredCanvasTest.cpp | 3 |
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, ¬ificationCounter); + SkDeferredCanvas canvas(&device); + canvas.setNotificationClient(¬ificationCounter); const int imageCount = 2; SkBitmap sourceImages[imageCount]; |