From 15f53d515e47f08ac6d03d51f14078116185cee9 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Fri, 27 Jan 2023 15:42:15 -0500 Subject: [PATCH] [fuchsia] Migrate to new RealmBuilder API (flutter/engine#39205) See https://fxrev.dev/793422. Missed in 92fca42e0667969b3a78815c77afca9c6acd1c83, 3bfa5c5b1db5391d49cc58f9a23f1b4cd802d3e3 and d429b674f1dd60590fda077fd893a4493c2b5455. --- .../flutter/tests/integration/touch-input/touch-input-test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-test.cc b/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-test.cc index e872e92229..5166cca0cb 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-test.cc +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/tests/integration/touch-input/touch-input-test.cc @@ -226,7 +226,7 @@ class FlutterTapTestBase : public PortableUITest, // Get the display dimensions. FML_LOG(INFO) << "Waiting for scenic display info"; - scenic_ = realm_root()->template Connect(); + scenic_ = realm_root()->component().Connect(); scenic_->GetDisplayInfo([this](fuchsia::ui::gfx::DisplayInfo display_info) { display_width_ = display_info.width_in_px; display_height_ = display_info.height_in_px; @@ -345,7 +345,7 @@ class FlutterEmbedTapTest : public FlutterTapTestBase { // Get the display dimensions. FML_LOG(INFO) << "Waiting for scenic display info"; - scenic_ = realm_root()->template Connect(); + scenic_ = realm_root()->component().Connect(); scenic_->GetDisplayInfo([this](fuchsia::ui::gfx::DisplayInfo display_info) { display_width_ = display_info.width_in_px; display_height_ = display_info.height_in_px;