From 588d62123cffcd3b1fd8c6bb9274754e0ac974f8 Mon Sep 17 00:00:00 2001 From: Alexander Aprelev Date: Thu, 20 Jan 2022 10:19:27 -0800 Subject: [PATCH] Prefix dart:ffi import to prevent name conflicts. (#30950) https://dart.googlesource.com/sdk/+/85a87ca7ae6c9f028a0cbf6d8de3563b9a19b8e7 introduced Size to dart:ffi which conflicts with the one from dart:ui. See https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket/8824501487884216129/+/u/build_host_debug/stdout . This will unblock dart->engine roll with that change. --- shell/platform/embedder/fixtures/main.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/embedder/fixtures/main.dart b/shell/platform/embedder/fixtures/main.dart index 39c6a471bff3a..d4c1f261baa91 100644 --- a/shell/platform/embedder/fixtures/main.dart +++ b/shell/platform/embedder/fixtures/main.dart @@ -5,7 +5,7 @@ import 'dart:async'; import 'dart:convert'; import 'dart:core'; -import 'dart:ffi'; +import 'dart:ffi' as ffi; import 'dart:io'; import 'dart:isolate'; import 'dart:typed_data';