Chromium Code Reviews| Index: runtime/bin/builtin.dart |
| diff --git a/runtime/bin/builtin.dart b/runtime/bin/builtin.dart |
| index f5eec7e48141bd38a24990e1ce948b38ce9cfe90..3b3a3b00679d845c3147cb381bb2e466ebc2fb2d 100644 |
| --- a/runtime/bin/builtin.dart |
| +++ b/runtime/bin/builtin.dart |
| @@ -112,11 +112,9 @@ class _Logger { |
| _getPrintClosure() => _print; |
| -_getCurrentDirectoryPath() native "Directory_Current"; |
| - |
| // Corelib 'Uri.base' implementation. |
| Uri _uriBase() { |
|
Søren Gjesse
2015/03/04 12:48:13
We could also do this, if we care about not alloca
Ivan Posva
2015/03/04 17:36:25
By using Directory.current you need to import "dar
|
| - return new Uri.file(_getCurrentDirectoryPath() + "/"); |
| + return new Uri.file(Directory.current.path + "/"); |
| } |
| _getUriBaseClosure() => _uriBase; |