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

Unified Diff: runtime/bin/builtin.dart

Issue 333283002: Another case of the VM getting a path into Uri.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Another fix. It shows that I don't understand the code I'm fixing! Created 6 years, 6 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 | no next file » | 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 3931c5947b1ea460e2c9cedd2d1bab1da2f46d1d..ad5c7edc2fdf67562e57a847524bce0d1833ba1c 100644
--- a/runtime/bin/builtin.dart
+++ b/runtime/bin/builtin.dart
@@ -362,7 +362,7 @@ void _loadLibrarySource(tag, uri, libraryUri, text) {
// Asynchronously loads source code through an http or file uri.
_loadSourceAsync(int tag, String uri, String libraryUri) {
var filePath = _filePathFromUri(uri);
- Uri sourceUri = new Uri.file(filePath);
+ Uri sourceUri = _uriFromPathOrUri(filePath);
_numOutstandingLoadRequests++;
_logResolution("_loadLibrarySource($uri), "
"${_numOutstandingLoadRequests} requests outstanding");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698