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

Unified Diff: runtime/lib/isolate_patch.dart

Issue 1401713002: Rename [packages] to [packageMap] as Isolate.spawnUri parameter. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix typo 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 | « CHANGELOG.md ('k') | 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 9970d921c7557e7fc54d21e0e007960db98b4bab..9e77fa43bb7e9d3228b06e2d897b9edc9cc2deb2 100644
--- a/runtime/lib/isolate_patch.dart
+++ b/runtime/lib/isolate_patch.dart
@@ -331,13 +331,13 @@ patch class Isolate {
bool checked,
Map<String, String> environment,
Uri packageRoot,
- Map<String, Uri> packages}) {
+ Map<String, Uri> packageMap}) {
RawReceivePort readyPort;
if (environment != null) throw new UnimplementedError("environment");
- if (packages != null) throw new UnimplementedError("packages");
+ if (packageMap != null) throw new UnimplementedError("packageMap");
try {
// The VM will invoke [_startIsolate] and not `main`.
- // TODO: Handle [packages].
+ // TODO: Handle [packagesMap].
readyPort = new RawReceivePort();
var packageRootString =
(packageRoot == null) ? null : packageRoot.toString();
« no previous file with comments | « CHANGELOG.md ('k') | sdk/lib/_internal/js_runtime/lib/isolate_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698