Unverified Commit 1a0d873e authored by Jacob Richman's avatar Jacob Richman Committed by GitHub

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

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