Index: tests/SurfaceTest.cpp |
diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp |
index 157ccf6c77a7d769181654d7f2f1428a4a20f334..fac283d5b13a2559d75875577361c41a75ff4086 100644 |
--- a/tests/SurfaceTest.cpp |
+++ b/tests/SurfaceTest.cpp |
@@ -705,7 +705,7 @@ static void TestSurfaceCopyOnWrite(skiatest::Reporter* reporter, SurfaceType sur |
EXPECT_COPY_ON_WRITE(drawRRect(testRRect, testPaint)) |
EXPECT_COPY_ON_WRITE(drawPath(testPath, testPaint)) |
EXPECT_COPY_ON_WRITE(drawBitmap(testBitmap, 0, 0)) |
- EXPECT_COPY_ON_WRITE(drawBitmapRect(testBitmap, testRect)) |
+ EXPECT_COPY_ON_WRITE(drawBitmapRect(testBitmap, testRect, nullptr)) |
EXPECT_COPY_ON_WRITE(drawBitmapNine(testBitmap, testIRect, testRect, NULL)) |
EXPECT_COPY_ON_WRITE(drawSprite(testBitmap, 0, 0, NULL)) |
EXPECT_COPY_ON_WRITE(drawText(testText.c_str(), testText.size(), 0, 1, testPaint)) |