Index: sdk/lib/_internal/compiler/implementation/dart2js.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/dart2js.dart b/sdk/lib/_internal/compiler/implementation/dart2js.dart |
index f5acd283306f73b1fd1d34fd6095bf72b6998b7c..5af59fec593932dee1ee93c50562762d7a9eb83c 100644 |
--- a/sdk/lib/_internal/compiler/implementation/dart2js.dart |
+++ b/sdk/lib/_internal/compiler/implementation/dart2js.dart |
@@ -96,7 +96,7 @@ void compile(List<String> argv) { |
setOutput(String argument) { |
explicitOut = true; |
out = cwd.resolve(nativeToUriPath(extractParameter(argument))); |
- sourceMapOut = new Uri.fromString('$out.map'); |
+ sourceMapOut = Uri.parse('$out.map'); |
} |
setOutputType(String argument) { |
@@ -230,7 +230,7 @@ void compile(List<String> argv) { |
sourceMapOut.path.substring(sourceMapOut.path.lastIndexOf('/') + 1); |
code = '$code\n//@ sourceMappingURL=${sourceMapFileName}'; |
writeString(out, code); |
- writeString(new Uri.fromString('$out.deps'), |
+ writeString(Uri.parse('$out.deps'), |
getDepsOutput(inputProvider.sourceFiles)); |
int dartBytesRead = inputProvider.dartBytesRead; |
int bytesWritten = code.length; |