From ec738cfc8914383b47e47c2c25e28681ef71b8c7 Mon Sep 17 00:00:00 2001 From: ColdPaleLight Date: Tue, 7 Mar 2023 11:26:50 +0800 Subject: [PATCH] [Impeller] Fix the test 'Play/DisplayListTest.CanDrawBackdropFilter/Metal' --- impeller/display_list/display_list_unittests.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/impeller/display_list/display_list_unittests.cc b/impeller/display_list/display_list_unittests.cc index 0ba6f7a38e9fc..0c5c9565b69f3 100644 --- a/impeller/display_list/display_list_unittests.cc +++ b/impeller/display_list/display_list_unittests.cc @@ -564,7 +564,7 @@ TEST_P(DisplayListTest, CanDrawBackdropFilter) { builder.drawImage(DlImageImpeller::Make(texture), SkPoint::Make(200, 200), flutter::DlImageSampling::kNearestNeighbor, true); - builder.saveLayer(bounds.has_value() ? &bounds.value() : nullptr, nullptr, + builder.SaveLayer(bounds.has_value() ? &bounds.value() : nullptr, nullptr, &filter); if (draw_circle) {