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

Unified Diff: runtime/bin/builtin.dart

Issue 12052038: Rename new Uri.fromString to Uri.parse. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload because of Error. Created 7 years, 11 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 | « pkg/oauth2/test/handle_access_token_response_test.dart ('k') | samples/swarm/swarm_ui_lib/util/Uri.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 f84a50fd9d38cbdc17d91a0a58bd71961a6f56c8..5eb32ad712903d537a899c97b6294879e40e18ba 100644
--- a/runtime/bin/builtin.dart
+++ b/runtime/bin/builtin.dart
@@ -68,10 +68,10 @@ String _resolveScriptUri(String cwd, String scriptName, bool isWindows) {
}
String _resolveUri(String base, String userString) {
- var baseUri = new Uri.fromString(base);
+ var baseUri = Uri.parse(base);
_logResolution("# Resolving: $userString from $base");
- var uri = new Uri.fromString(userString);
+ var uri = Uri.parse(userString);
var resolved;
if ('dart-ext' == uri.scheme) {
// Relative URIs with scheme dart-ext should be resolved as if with no
@@ -94,7 +94,7 @@ String _resolveUri(String base, String userString) {
String _filePathFromUri(String userUri, bool isWindows) {
- var uri = new Uri.fromString(userUri);
+ var uri = Uri.parse(userUri);
_logResolution("# Getting file path from: $uri");
var path;
« no previous file with comments | « pkg/oauth2/test/handle_access_token_response_test.dart ('k') | samples/swarm/swarm_ui_lib/util/Uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698