From f06b180434ecc7d2ee710003d2af60cd35844202 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Wed, 22 Feb 2023 12:53:58 -0800 Subject: [PATCH] Fix a race in ShellTest.PushBackdropFilterToVisitedPlatformViews Fixes https://github.com/flutter/flutter/issues/121096 --- shell/common/shell_unittests.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/common/shell_unittests.cc b/shell/common/shell_unittests.cc index 2d767835b696b..476fd2828b593 100644 --- a/shell/common/shell_unittests.cc +++ b/shell/common/shell_unittests.cc @@ -850,7 +850,7 @@ TEST_F(ShellTest, PushBackdropFilterToVisitedPlatformViews) { ASSERT_FALSE(stack_50.is_empty()); auto filter = DlBlurImageFilter(5, 5, DlTileMode::kClamp); - auto mutator = *external_view_embedder->GetStack(50).Begin(); + auto mutator = *stack_50.Begin(); ASSERT_EQ(mutator->GetType(), MutatorType::kBackdropFilter); ASSERT_EQ(mutator->GetFilterMutation().GetFilter(), filter); // Make sure the filterRect is in global coordinates (contains the (1,1)