Index: tests/RecordDrawTest.cpp |
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp |
index 2346655330793a293ea34f31b876a7f91f3c71ef..e5dd9fe654601b9072167f783aa0f0cc4f4e5072 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/*bbh*/, &callback); |
+ SkRecordDraw(record, &canvas, NULL, 0, NULL/*bbh*/, &callback); |
REPORTER_ASSERT(r, 3 == rerecord.count()); |
assert_type<SkRecords::Save> (r, rerecord, 0); |
@@ -56,7 +56,7 @@ DEF_TEST(RecordDraw_Unbalanced, r) { |
SkRecord rerecord; |
SkRecorder canvas(&rerecord, W, H); |
- SkRecordDraw(record, &canvas, NULL/*bbh*/, NULL/*callback*/); |
+ SkRecordDraw(record, &canvas, NULL, 0, NULL/*bbh*/, NULL/*callback*/); |
REPORTER_ASSERT(r, 4 == rerecord.count()); |
assert_type<SkRecords::Save> (r, rerecord, 0); |
@@ -80,7 +80,7 @@ DEF_TEST(RecordDraw_SetMatrixClobber, r) { |
translate.setTranslate(20, 20); |
translateCanvas.setMatrix(translate); |
- SkRecordDraw(scaleRecord, &translateCanvas, NULL/*bbh*/, NULL/*callback*/); |
+ SkRecordDraw(scaleRecord, &translateCanvas, NULL, 0, NULL/*bbh*/, NULL/*callback*/); |
REPORTER_ASSERT(r, 4 == translateRecord.count()); |
assert_type<SkRecords::SetMatrix>(r, translateRecord, 0); |
assert_type<SkRecords::Save> (r, translateRecord, 1); |
@@ -190,7 +190,7 @@ DEF_TEST(RecordDraw_PartialStartStop, r) { |
SkRecord rerecord; |
SkRecorder canvas(&rerecord, kWidth, kHeight); |
- SkRecordPartialDraw(record, &canvas, r1, 1, 2, SkMatrix::I()); // replay just drawRect of r2 |
+ SkRecordPartialDraw(record, &canvas, NULL, 0, r1, 1, 2, SkMatrix::I()); // replay just drawRect of r2 |
REPORTER_ASSERT(r, 3 == rerecord.count()); |
assert_type<SkRecords::Save> (r, rerecord, 0); |
@@ -213,7 +213,7 @@ DEF_TEST(RecordDraw_PartialClear, r) { |
SkRecord rerecord; |
SkRecorder canvas(&rerecord, kWidth, kHeight); |
- SkRecordPartialDraw(record, &canvas, rect, 0, 1, SkMatrix::I()); // replay just the clear |
+ SkRecordPartialDraw(record, &canvas, NULL, 0, rect, 0, 1, SkMatrix::I()); // replay just the clear |
REPORTER_ASSERT(r, 3 == rerecord.count()); |
assert_type<SkRecords::Save> (r, rerecord, 0); |
@@ -319,7 +319,7 @@ DEF_TEST(RecordDraw_drawImage, r){ |
SkRecord record; |
SkRecorder recorder(&record, 10, 10); |
recorder.drawImage(image, 0, 0); |
- SkRecordDraw(record, &canvas, 0, 0); |
+ SkRecordDraw(record, &canvas, NULL, 0, NULL, 0); |
} |
REPORTER_ASSERT(r, canvas.fDrawImageCalled); |
canvas.resetTestValues(); |
@@ -328,7 +328,7 @@ DEF_TEST(RecordDraw_drawImage, r){ |
SkRecord record; |
SkRecorder recorder(&record, 10, 10); |
recorder.drawImageRect(image, 0, SkRect::MakeWH(10, 10)); |
- SkRecordDraw(record, &canvas, 0, 0); |
+ SkRecordDraw(record, &canvas, NULL, 0, NULL, 0); |
} |
REPORTER_ASSERT(r, canvas.fDrawImageRectCalled); |