Index: tests/RecordReplaceDrawTest.cpp |
diff --git a/tests/RecordReplaceDrawTest.cpp b/tests/RecordReplaceDrawTest.cpp |
index 5b6d12c0d3dcbfdf20c7de0756f163ad6ae02aec..b87637d577aa2691d7ccefb931df547065e535f1 100644 |
--- a/tests/RecordReplaceDrawTest.cpp |
+++ b/tests/RecordReplaceDrawTest.cpp |
@@ -117,8 +117,8 @@ void test_replacements(skiatest::Reporter* r, bool useBBH) { |
} |
GrReplacements replacements; |
- GrReplacements::ReplacementInfo* ri = replacements.push(); |
- ri->fStart = 0; |
+ GrReplacements::ReplacementInfo* ri = replacements.newReplacement(pic->uniqueID(), |
+ 0, SkMatrix::I()); |
ri->fStop = 2; |
ri->fPos.set(0, 0); |
ri->fImage = make_image(SK_ColorRED); |