diff --git a/engine/src/flutter/shell/common/shell_unittests.cc b/engine/src/flutter/shell/common/shell_unittests.cc index 843b3c0a69..8df8ec96aa 100644 --- a/engine/src/flutter/shell/common/shell_unittests.cc +++ b/engine/src/flutter/shell/common/shell_unittests.cc @@ -3206,8 +3206,8 @@ TEST_F(ShellTest, CanCreateShellsWithGLBackend) { ); ASSERT_NE(shell, nullptr); ASSERT_TRUE(shell->IsSetup()); - PlatformViewNotifyCreated(shell.get()); auto configuration = RunConfiguration::InferFromSettings(settings); + PlatformViewNotifyCreated(shell.get()); configuration.SetEntrypoint("emptyMain"); RunEngine(shell.get(), std::move(configuration)); PumpOneFrame(shell.get()); @@ -3230,8 +3230,8 @@ TEST_F(ShellTest, CanCreateShellsWithVulkanBackend) { ); ASSERT_NE(shell, nullptr); ASSERT_TRUE(shell->IsSetup()); - PlatformViewNotifyCreated(shell.get()); auto configuration = RunConfiguration::InferFromSettings(settings); + PlatformViewNotifyCreated(shell.get()); configuration.SetEntrypoint("emptyMain"); RunEngine(shell.get(), std::move(configuration)); PumpOneFrame(shell.get()); @@ -3254,8 +3254,8 @@ TEST_F(ShellTest, CanCreateShellsWithMetalBackend) { ); ASSERT_NE(shell, nullptr); ASSERT_TRUE(shell->IsSetup()); - PlatformViewNotifyCreated(shell.get()); auto configuration = RunConfiguration::InferFromSettings(settings); + PlatformViewNotifyCreated(shell.get()); configuration.SetEntrypoint("emptyMain"); RunEngine(shell.get(), std::move(configuration)); PumpOneFrame(shell.get());