Unverified Commit ad0dbc8d authored by Mouad Debbar's avatar Mouad Debbar Committed by GitHub

[web] Remove usage of `ui.webOnlyInitializePlatform()` (#131344)

Part of https://github.com/flutter/flutter/issues/126831
parent 0448a11c
......@@ -229,7 +229,7 @@ String generateTestEntrypoint({
Future<void> main() async {
ui_web.debugEmulateFlutterTesterEnvironment = true;
await ui.webOnlyInitializePlatform();
await ui_web.bootstrapEngine();
webGoldenComparator = DefaultWebGoldenComparator(Uri.parse('${Uri.file(absolutePath)}'));
(ui.window as dynamic).debugOverrideDevicePixelRatio(3.0);
(ui.window as dynamic).webOnlyDebugPhysicalSizeOverride = const ui.Size(2400, 1800);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment