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

Unified Diff: runtime/lib/isolate_patch.dart

Issue 1409343007: - Rollback packageConfig/File/Spec updates for 1.13. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | sdk/lib/_internal/js_runtime/lib/isolate_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/isolate_patch.dart
diff --git a/runtime/lib/isolate_patch.dart b/runtime/lib/isolate_patch.dart
index 6d59fff5567134197256968651e777d65523b83c..41389a5a3f687004786d06d26945dd54bee05d22 100644
--- a/runtime/lib/isolate_patch.dart
+++ b/runtime/lib/isolate_patch.dart
@@ -275,22 +275,6 @@ patch class Isolate {
/* patch */ static Isolate get current => _currentIsolate;
- /* patch */ static Future<Uri> get packageRoot {
- var hook = VMLibraryHooks.getPackageRoot;
- if (hook == null) {
- throw new UnimplementedError("Isolate.packageRoot");
- }
- return hook();
- }
-
- /* patch */ static Future<Map<String, Uri>> get packageMap {
- var hook = VMLibraryHooks.getPackageMap;
- if (hook == null) {
- throw new UnimplementedError("Isolate.packageMap");
- }
- return hook();
- }
-
/* patch */ static Future<Isolate> spawn(
void entryPoint(message), var message,
{bool paused: false, bool errorsAreFatal,
@@ -330,8 +314,7 @@ patch class Isolate {
bool errorsAreFatal,
bool checked,
Map<String, String> environment,
- Uri packageRoot,
- Map<String, Uri> packageMap}) {
+ Uri packageRoot}) {
RawReceivePort readyPort;
if (environment != null) throw new UnimplementedError("environment");
try {
@@ -340,14 +323,6 @@ patch class Isolate {
var packageRootString =
(packageRoot == null) ? null : packageRoot.toString();
var packagesList = null;
- if (packageMap != null) {
- packagesList = new List(2 * packageMap.length);
- var i = 0;
- packageMap.forEach((key, value) {
- packagesList[i++] = key;
- packagesList[i++] = Uri.base.resolveUri(value).toString();
- });
- }
_spawnUri(readyPort.sendPort, uri.toString(),
args, message,
« no previous file with comments | « no previous file | sdk/lib/_internal/js_runtime/lib/isolate_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698