diff --git a/shell/platform/fuchsia/dart_runner/dart_test_component_controller.cc b/shell/platform/fuchsia/dart_runner/dart_test_component_controller.cc index 5670d7306cf68..a1786e26497c5 100644 --- a/shell/platform/fuchsia/dart_runner/dart_test_component_controller.cc +++ b/shell/platform/fuchsia/dart_runner/dart_test_component_controller.cc @@ -178,7 +178,7 @@ void DartTestComponentController::SetUp() { suite_context_ = sys::ComponentContext::Create(); suite_context_->outgoing()->AddPublicService(this->GetHandler()); suite_context_->outgoing()->Serve( - start_info_.mutable_outgoing_dir()->TakeChannel(), loop_->dispatcher()); + std::move(*start_info_.mutable_outgoing_dir()), loop_->dispatcher()); loop_->Run(); } diff --git a/shell/platform/fuchsia/flutter/component_v1.cc b/shell/platform/fuchsia/flutter/component_v1.cc index b9a8674f65c0a..bc58d846538f9 100644 --- a/shell/platform/fuchsia/flutter/component_v1.cc +++ b/shell/platform/fuchsia/flutter/component_v1.cc @@ -159,16 +159,16 @@ ComponentV1::ComponentV1( continue; } - zx::channel dir; + fidl::InterfaceHandle dir; if (path == kServiceRootPath) { svc_ = std::make_unique( std::move(startup_info.flat_namespace.directories.at(i))); - dir = svc_->CloneChannel().TakeChannel(); + dir = svc_->CloneChannel(); } else { dir = std::move(startup_info.flat_namespace.directories.at(i)); } - zx_handle_t dir_handle = dir.release(); + zx_handle_t dir_handle = dir.TakeChannel().release(); if (fdio_ns_bind(fdio_ns_.get(), path.data(), dir_handle) != ZX_OK) { FML_LOG(ERROR) << "Could not bind path to namespace: " << path; zx_handle_close(dir_handle); @@ -199,7 +199,7 @@ ComponentV1::ComponentV1( outgoing_dir_->Serve(fuchsia::io::OpenFlags::RIGHT_READABLE | fuchsia::io::OpenFlags::RIGHT_WRITABLE | fuchsia::io::OpenFlags::DIRECTORY, - std::move(launch_info.directory_request)); + launch_info.directory_request.TakeChannel()); } directory_request_ = directory_ptr_.NewRequest(); diff --git a/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-test.cc b/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-test.cc index 5718a9e43c622..0fe3a47d5e78f 100644 --- a/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-test.cc +++ b/shell/platform/fuchsia/flutter/tests/integration/text-input/text-input-test.cc @@ -112,6 +112,9 @@ class TestResponseListenerServer return match; } + // KeyboardInputListener override + void ReportReady(ReportReadyCallback) override {} + private: // Not owned. async_dispatcher_t* dispatcher_ = nullptr; diff --git a/tools/fuchsia/target_api_level b/tools/fuchsia/target_api_level index ec635144f6004..f599e28b8ab0d 100644 --- a/tools/fuchsia/target_api_level +++ b/tools/fuchsia/target_api_level @@ -1 +1 @@ -9 +10