修改传参

Signed-off-by: porridge783 <chenbaoshan_mr@163.com>
This commit is contained in:
porridge783 2024-11-06 02:08:10 +00:00 committed by Gitee
parent 7ff3577835
commit ac4d21ee4a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -290,7 +290,7 @@ HWTEST_F(RSDrawingFilterTest, DrawImageRect001, TestSize.Level1)
RSPaintFilterCanvas paintFilterCanvas(&canvas);
paintFilterCanvas.SetAlpha(0.5);
drawingFilter.DrawImageRect(paintFilterCanvas, image, src, dst, false);
drawingFilter.DrawImageRect(paintFilterCanvas, image, src, dst, { false, false });
EXPECT_TRUE(image != nullptr);
}