Index: tests/RecordReplaceDrawTest.cpp |
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp |
index 5d407387da18c56fb78e62600aba4d53bd6173fa..8fc824d8ccb6c664481e07057ed6c5a9d7001731 100644 |
--- a/tests/RecordReplaceDrawTest.cpp |
+++ b/tests/RecordReplaceDrawTest.cpp |
@@ -115,9 +115,11 @@ void test_replacements(skiatest::Reporter* r, bool useBBH) { |
pic.reset(recorder.endRecording()); |
} |
+ int key[1] = { 0 }; |
+ |
GrReplacements replacements; |
- GrReplacements::ReplacementInfo* ri = replacements.newReplacement(pic->uniqueID(), |
- 0, SkMatrix::I()); |
+ GrReplacements::ReplacementInfo* ri = replacements.newReplacement(pic->uniqueID(), |
+ SkMatrix::I(), key, 1); |
ri->fStop = 2; |
ri->fPos.set(0, 0); |
ri->fImage = make_image(SK_ColorRED); |