From 1bdfd3f4f09e47364f76d3f08177b1ce844ac786 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 24 Nov 2014 14:41:51 -0800 Subject: option to return drawable from recording patch from issue 747033005 at patchset 80001 (http://crrev.com/747033005#ps80001) BUG=skia: Review URL: https://codereview.chromium.org/732653004 --- tests/RecordDrawTest.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/RecordDrawTest.cpp') diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp index b7538f1e9a..48981ef0a2 100644 --- a/tests/RecordDrawTest.cpp +++ b/tests/RecordDrawTest.cpp @@ -41,7 +41,7 @@ DEF_TEST(RecordDraw_Abort, r) { SkRecorder canvas(&rerecord, W, H); JustOneDraw callback; - SkRecordDraw(record, &canvas, NULL, 0, NULL/*bbh*/, &callback); + SkRecordDraw(record, &canvas, NULL, NULL, 0, NULL/*bbh*/, &callback); REPORTER_ASSERT(r, 3 == rerecord.count()); assert_type (r, rerecord, 0); @@ -56,7 +56,7 @@ DEF_TEST(RecordDraw_Unbalanced, r) { SkRecord rerecord; SkRecorder canvas(&rerecord, W, H); - SkRecordDraw(record, &canvas, NULL, 0, NULL/*bbh*/, NULL/*callback*/); + SkRecordDraw(record, &canvas, NULL, NULL, 0, NULL/*bbh*/, NULL/*callback*/); REPORTER_ASSERT(r, 4 == rerecord.count()); assert_type (r, rerecord, 0); @@ -80,7 +80,7 @@ DEF_TEST(RecordDraw_SetMatrixClobber, r) { translate.setTranslate(20, 20); translateCanvas.setMatrix(translate); - SkRecordDraw(scaleRecord, &translateCanvas, NULL, 0, NULL/*bbh*/, NULL/*callback*/); + SkRecordDraw(scaleRecord, &translateCanvas, NULL, NULL, 0, NULL/*bbh*/, NULL/*callback*/); REPORTER_ASSERT(r, 4 == translateRecord.count()); assert_type(r, translateRecord, 0); assert_type (r, translateRecord, 1); @@ -320,7 +320,7 @@ DEF_TEST(RecordDraw_drawImage, r){ SkRecord record; SkRecorder recorder(&record, 10, 10); recorder.drawImage(image, 0, 0); - SkRecordDraw(record, &canvas, NULL, 0, NULL, 0); + SkRecordDraw(record, &canvas, NULL, NULL, 0, NULL, 0); } REPORTER_ASSERT(r, canvas.fDrawImageCalled); canvas.resetTestValues(); @@ -329,7 +329,7 @@ DEF_TEST(RecordDraw_drawImage, r){ SkRecord record; SkRecorder recorder(&record, 10, 10); recorder.drawImageRect(image, 0, SkRect::MakeWH(10, 10)); - SkRecordDraw(record, &canvas, NULL, 0, NULL, 0); + SkRecordDraw(record, &canvas, NULL, NULL, 0, NULL, 0); } REPORTER_ASSERT(r, canvas.fDrawImageRectCalled); -- cgit v1.2.3