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

Unified Diff: sdk/lib/_internal/compiler/samples/jsonify/jsonify.dart

Issue 46063010: Change dart:io Platform.script to return a Uri. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 years, 2 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
Index: sdk/lib/_internal/compiler/samples/jsonify/jsonify.dart
diff --git a/sdk/lib/_internal/compiler/samples/jsonify/jsonify.dart b/sdk/lib/_internal/compiler/samples/jsonify/jsonify.dart
index e58ee6b4db0cb2197ddae51c48fc3bdbbc61050f..b25aab3c4c80272ef27fd3e7a2681f97d89d7294 100644
--- a/sdk/lib/_internal/compiler/samples/jsonify/jsonify.dart
+++ b/sdk/lib/_internal/compiler/samples/jsonify/jsonify.dart
@@ -41,7 +41,7 @@ main(List<String> arguments) {
output = new File(arguments.first).openSync(mode: FileMode.WRITE);
Uri myLocation =
- handler.provider.cwd.resolve(nativeToUriPath(Platform.script));
+ handler.provider.cwd.resolveUri(Platform.script);
sdkRoot = myLocation.resolve(SDK_ROOT).resolve('../');
« no previous file with comments | « sdk/lib/_internal/compiler/samples/darttags/darttags.dart ('k') | sdk/lib/_internal/dartdoc/lib/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698