From 1a0d873e2ea384b596035eb13e57e71081ae85dc Mon Sep 17 00:00:00 2001 From: Jacob Richman Date: Thu, 8 Jul 2021 14:29:41 -0700 Subject: [PATCH] Switch drive_service from using deprecated version of --record-memory-profile flag. (#86122) --- packages/flutter_tools/lib/src/drive/drive_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/drive/drive_service.dart b/packages/flutter_tools/lib/src/drive/drive_service.dart index e74dcba533d..f87198f7156 100644 --- a/packages/flutter_tools/lib/src/drive/drive_service.dart +++ b/packages/flutter_tools/lib/src/drive/drive_service.dart @@ -261,7 +261,7 @@ class FlutterDriverService extends DriverService { if (profileMemory != null) { unawaited(_devtoolsLauncher.launch( Uri.parse(_vmServiceUri), - additionalArguments: ['--profile-memory=$profileMemory'], + additionalArguments: ['--record-memory-profile=$profileMemory'], )); // When profiling memory the original launch future will never complete. await _devtoolsLauncher.processStart;