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

Unified Diff: runtime/lib/isolate_patch.dart

Issue 439723004: Specify packageRoot parameter to Isolate.spawnUri. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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 | sdk/lib/_internal/compiler/js_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 39826f656a469ed179aab3353180142ac6db3dd9..e0194fc649faa75509ba57a9ee49cb089cf68774 100644
--- a/runtime/lib/isolate_patch.dart
+++ b/runtime/lib/isolate_patch.dart
@@ -274,8 +274,11 @@ patch class Isolate {
}
/* patch */ static Future<Isolate> spawnUri(
- Uri uri, List<String> args, var message, { bool paused: false }) {
+ Uri uri, List<String> args, var message,
+ { bool paused: false, Uri packageRoot }) {
// `paused` isn't handled yet.
+ // `packageRoot` isn't handled yet.
+ if (packageRoot != null) throw new UnimplementedError("packageRoot");
RawReceivePort readyPort;
try {
// The VM will invoke [_startIsolate] and not `main`.
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/js_lib/isolate_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698