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

Unified Diff: runtime/bin/builtin.dart

Issue 539863002: Fix handling of Windows paths after cleanup. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 60e47c35b84e792c11ec8813dacc973f7835a321..2dbc3e79eb8a03e46ea740b674026c4902bbd593 100644
--- a/runtime/bin/builtin.dart
+++ b/runtime/bin/builtin.dart
@@ -284,12 +284,14 @@ void _asyncLoadError(uri, libraryUri, error) {
// Asynchronously loads script data through a http or file uri.
_loadDataAsync(int tag, String uri, String libraryUri) {
- var filePath = _filePathFromUri(uri);
+ var filePath;
Uri sourceUri;
if (tag == null) {
uri = _resolveScriptUri(uri);
sourceUri = Uri.parse(uri);
+ filePath = _filePathFromUri(uri);
} else {
+ filePath = _filePathFromUri(uri);
sourceUri = Uri.parse(filePath);
}
_numOutstandingLoadRequests++;
« 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