Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3403)

Unified Diff: bin/dwc_browser.dart

Issue 14910007: Fix breaking change from next SDK (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/src/analyzer.dart » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/dwc_browser.dart
diff --git a/bin/dwc_browser.dart b/bin/dwc_browser.dart
index 234c333679b279a45cf335e2f8315009b9981eaf..772ae44a99e96fb2aae48ed1d020be280100dac0 100644
--- a/bin/dwc_browser.dart
+++ b/bin/dwc_browser.dart
@@ -37,7 +37,7 @@ void parse(js.Proxy sourcePagePort, String sourceUri) {
// TODO(jacobr): we need to send error messages back to sourcePagePort.
js.retain(sourcePagePort);
print("Processing: $sourceUri");
- Uri uri = new Uri.fromString(sourceUri);
+ Uri uri = Uri.parse(sourceUri);
fileSystem = new BrowserFileSystem(uri.scheme, sourcePagePort);
// TODO(jacobr): provide a way to pass in options.
var options = CompilerOptions.parse(['--no-colors', uri.path]);
« no previous file with comments | « no previous file | lib/src/analyzer.dart » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698