Chromium Code Reviews| Index: utils/pub/io.dart |
| diff --git a/utils/pub/io.dart b/utils/pub/io.dart |
| index b227378a28f552f3c541967d640d76d219dd0229..4a9f3752942c1832c79d6c3cdac6566d7fbc0bd8 100644 |
| --- a/utils/pub/io.dart |
| +++ b/utils/pub/io.dart |
| @@ -1035,5 +1035,5 @@ Directory _getDirectory(entry) { |
| /// Gets a [Uri] for [uri], which can either already be one, or be a [String]. |
| Uri _getUri(uri) { |
| if (uri is Uri) return uri; |
| - return new Uri.fromString(uri); |
| + return Uri.parse(uri); |
| } |