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

Unified Diff: runtime/bin/builtin.dart

Issue 1432203002: Revert "Add data-URI support class to dart:core (next to Uri)." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 1 month 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 | « CHANGELOG.md ('k') | sdk/lib/convert/base64.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin.dart
diff --git a/runtime/bin/builtin.dart b/runtime/bin/builtin.dart
index 5ae31aea9b3d26fa4369c39b122f59628d3b96fb..d6d945eb48e4b4e23fc73235e8fb2ef47dad985b 100644
--- a/runtime/bin/builtin.dart
+++ b/runtime/bin/builtin.dart
@@ -44,9 +44,9 @@ _getCurrentDirectoryPath() native "Builtin_GetCurrentDirectory";
Uri _uriBase() {
// We are not using Dircetory.current here to limit the dependency
// on dart:io. This code is the same as:
- // return new Uri.directory(Directory.current.path);
- var path = _getCurrentDirectoryPath();
- return new Uri.directory(path);
+ // return new Uri.file(Directory.current.path + "/");
+ var result = _getCurrentDirectoryPath();
+ return new Uri.file("$result/");
}
« no previous file with comments | « CHANGELOG.md ('k') | sdk/lib/convert/base64.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698