Revert "Fix and enable painting tests on the Web (#42546)" (#42687)

This reverts commit 13a1b1e3b9. It broke the build.
This commit is contained in:
Yegor
2019-10-14 15:14:16 -07:00
committed by GitHub
parent 13a1b1e3b9
commit 163be41d80
6 changed files with 5 additions and 14 deletions

View File

@@ -277,7 +277,6 @@ Future<void> main() async {
// The following parameters are hard-coded in Flutter's test embedder. Since
// we don't have an embedder yet this is the lowest-most layer we can put
// this stuff in.
ui.debugEmulateFlutterTesterEnvironment = true;
await ui.webOnlyInitializeEngine();
// TODO(flutterweb): remove need for dynamic cast.
(ui.window as dynamic).debugOverrideDevicePixelRatio(3.0);