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

Unified Diff: runtime/bin/builtin.dart

Issue 2998373002: [dart:io] Move _getUriBaseClosure to dart:io (Closed)
Patch Set: Created 3 years, 4 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 | runtime/bin/builtin_natives.cc » ('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 6aec39a3966dd2a8e6b9679b04b21a2287f98bca..65b7aa854a1010b9432a26e14d2f2173a79712e4 100644
--- a/runtime/bin/builtin.dart
+++ b/runtime/bin/builtin.dart
@@ -30,20 +30,6 @@ void _print(arg) {
_getPrintClosure() => _print;
-// Corelib 'Uri.base' implementation.
-// Uri.base is susceptible to changes in the current working directory.
-_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);
-}
-
-_getUriBaseClosure() => _uriBase;
-
// Asynchronous loading of resources.
// The embedder forwards loading requests to the service isolate.
« no previous file with comments | « no previous file | runtime/bin/builtin_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698