diff --git a/engine/src/flutter/shell/platform/fuchsia/flutter/platform_view.cc b/engine/src/flutter/shell/platform/fuchsia/flutter/platform_view.cc index 2849e918bb..b2260088ae 100644 --- a/engine/src/flutter/shell/platform/fuchsia/flutter/platform_view.cc +++ b/engine/src/flutter/shell/platform/fuchsia/flutter/platform_view.cc @@ -964,9 +964,8 @@ bool PlatformView::HandleFlutterPlatformViewsChannelPlatformMessage( // The client is waiting for view creation. Send an empty response // back to signal the view was created. if (message->response()) { - message->response()->Complete( - std::make_unique((const uint8_t*)"[0]", - 3u)); + message->response()->Complete(std::make_unique( + std::vector({'[', '0', ']'}))); } }); auto on_view_bound =