diff --git a/engine/src/flutter/shell/platform/android/android_shell_holder_unittests.cc b/engine/src/flutter/shell/platform/android/android_shell_holder_unittests.cc index eca2eed8bc..2d3bc3ef31 100644 --- a/engine/src/flutter/shell/platform/android/android_shell_holder_unittests.cc +++ b/engine/src/flutter/shell/platform/android/android_shell_holder_unittests.cc @@ -57,13 +57,12 @@ TEST(AndroidShellHolder, Create) { Settings settings; settings.enable_software_rendering = false; auto jni = std::make_shared(); - auto holder = std::make_unique( - settings, jni, /*is_background_view=*/false); + auto holder = std::make_unique(settings, jni); EXPECT_NE(holder.get(), nullptr); EXPECT_TRUE(holder->IsValid()); EXPECT_NE(holder->GetPlatformView().get(), nullptr); - auto window = - fml::MakeRefCounted(nullptr, /*is_offscreen=*/true); + auto window = fml::MakeRefCounted( + nullptr, /*is_fake_window=*/true); holder->GetPlatformView()->NotifyCreated(window); } } // namespace testing