Switch drive_service from using deprecated version of --record-memory-profile flag. (#86122)

This commit is contained in:
Jacob Richman 2021-07-08 14:29:41 -07:00 committed by GitHub
parent 0dbb74eb42
commit 1a0d873e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -261,7 +261,7 @@ class FlutterDriverService extends DriverService {
if (profileMemory != null) {
unawaited(_devtoolsLauncher.launch(
Uri.parse(_vmServiceUri),
additionalArguments: <String>['--profile-memory=$profileMemory'],
additionalArguments: <String>['--record-memory-profile=$profileMemory'],
));
// When profiling memory the original launch future will never complete.
await _devtoolsLauncher.processStart;