Index: tools/testing/dart/drt_updater.dart |
diff --git a/tools/testing/dart/drt_updater.dart b/tools/testing/dart/drt_updater.dart |
index 04f72969d0ed68a2cb1243ad76b88ebdd7733223..befc49f40b786bb20717aca2c2d2c4745aeef2fe 100644 |
--- a/tools/testing/dart/drt_updater.dart |
+++ b/tools/testing/dart/drt_updater.dart |
@@ -71,7 +71,7 @@ _DartiumUpdater _contentShellUpdater; |
_DartiumUpdater _dartiumUpdater; |
_DartiumUpdater runtimeUpdater(Map configuration) { |
- String runtime = configuration['runtime']; |
+ var runtime = configuration['runtime'] as String; |
if (runtime == 'drt' && configuration['drt'] == '') { |
// Download the default content shell from Google Storage. |
if (_contentShellUpdater == null) { |