diff options
Diffstat (limited to 'tests/PictureTest.cpp')
-rw-r--r-- | tests/PictureTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp index 799405e558..19032a1537 100644 --- a/tests/PictureTest.cpp +++ b/tests/PictureTest.cpp @@ -942,7 +942,7 @@ DEF_TEST(DontOptimizeSaveLayerDrawDrawRestore, reporter) { SkCanvas* canvas = recorder.beginRecording(100, 100); canvas->drawColor(0); - canvas->saveLayer(0, &semiTransparent); + canvas->saveLayer(nullptr, &semiTransparent); canvas->drawBitmap(blueBM, 25, 25); canvas->drawBitmap(redBM, 50, 50); canvas->restore(); |