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

Unified Diff: runtime/bin/builtin.dart

Issue 10020049: Fix merge bug. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 8 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 | tests/standalone/standalone.status » ('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 c247819a2f6393ac2a0ba003e9e97c1482c3a56a..b61314748d2e6c80b82e200c9952a9a3884a3b07 100644
--- a/runtime/bin/builtin.dart
+++ b/runtime/bin/builtin.dart
@@ -133,18 +133,3 @@ String _filePathFromPackageUri(Uri uri) {
_logResolution("# Package: $path");
return path;
}
-
-String _filePathFromPackageUri(Uri uri) {
- if (uri.domain != '') {
- var path = (uri.path != '') ? '${uri.domain}${uri.path}' : uri.domain;
- var right = 'package:$path';
- var wrong = 'package://$path';
-
- throw "URIs using the 'package:' scheme should look like " +
- "'$right', not '$wrong'.";
- }
-
- var path = _entrypoint.resolve('packages/${uri.path}').path;
- _logResolution("# Package: $path");
- return path;
-}
« no previous file with comments | « no previous file | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698