From e720d3c0041c15c3f1d9ba7ec7d491ddd32a09bc Mon Sep 17 00:00:00 2001 From: Jonah Williams Date: Thu, 16 Mar 2023 14:22:34 -0700 Subject: [PATCH] [Impeller] fix opacity inheritance test (flutter/engine#40360) [Impeller] fix opacity inheritance test --- engine/src/flutter/impeller/entity/entity_unittests.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/engine/src/flutter/impeller/entity/entity_unittests.cc b/engine/src/flutter/impeller/entity/entity_unittests.cc index 8f0ea290a3..c794cd37bb 100644 --- a/engine/src/flutter/impeller/entity/entity_unittests.cc +++ b/engine/src/flutter/impeller/entity/entity_unittests.cc @@ -2437,13 +2437,6 @@ TEST_P(EntityTest, InheritOpacityTest) { // Clips and restores trivially accept opacity. ASSERT_TRUE(ClipContents().CanAcceptOpacity(entity)); ASSERT_TRUE(ClipRestoreContents().CanAcceptOpacity(entity)); - - // Potentially overlapping geometry always returns false. - auto solid_color_2 = std::make_shared(); - Path path = PathBuilder{}.MoveTo({100, 100}).LineTo({100, 200}).TakePath(); - solid_color_2->SetGeometry(Geometry::MakeStrokePath(path, 5.0)); - - ASSERT_FALSE(solid_color_2->CanAcceptOpacity(entity)); } } // namespace testing