Revert "[web] Switch web-render option default to auto (#23090)" (#23161)

This reverts commit 50e7d89163418b73be4b376ac96a335856da1224.
This commit is contained in:
Zachary Anderson 2020-12-17 18:22:36 -08:00 committed by GitHub
parent d941aefa61
commit 67cb0f382e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -619,8 +619,6 @@ class TestCommand extends Command<bool> with ArgUtils {
'--enable-experiment=non-nullable',
'--no-sound-null-safety',
if (input.forCanvasKit) '-DFLUTTER_WEB_USE_SKIA=true',
if (!input.forCanvasKit) '-DFLUTTER_WEB_AUTO_DETECT=false',
if (!input.forCanvasKit) '-DFLUTTER_WEB_USE_SKIA=false',
'-O2',
'-o',
targetFileName, // target path.

View File

@ -31,7 +31,7 @@ bool _detectRenderer() {
/// Using flutter tools option "--web-render=auto" would set the value to true.
/// Otherwise, it would be false.
const bool _autoDetect =
bool.fromEnvironment('FLUTTER_WEB_AUTO_DETECT', defaultValue: true);
bool.fromEnvironment('FLUTTER_WEB_AUTO_DETECT', defaultValue: false);
/// Enable the Skia-based rendering backend.
///