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

Unified Diff: runtime/lib/isolate_patch.dart

Issue 1350053002: Add "environment" parameter to spawnUri for String.fromEnvironment support. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
Index: runtime/lib/isolate_patch.dart
diff --git a/runtime/lib/isolate_patch.dart b/runtime/lib/isolate_patch.dart
index 51b7ac0123147c1e9103d2875bf0efae471fcf42..ca374ff7d641ba529da3df9eb4076f8cdc40864b 100644
--- a/runtime/lib/isolate_patch.dart
+++ b/runtime/lib/isolate_patch.dart
@@ -310,12 +310,14 @@ patch class Isolate {
Uri uri, List<String> args, var message,
{bool paused: false,
bool checked,
+ Map<String, String> environment,
Uri packageRoot,
Map<String, Uri> packages,
bool errorsAreFatal,
SendPort onExit,
SendPort onError}) {
RawReceivePort readyPort;
+ if (environment != null) throw new UnimplementedError("environment");
try {
// The VM will invoke [_startIsolate] and not `main`.
// TODO: Handle [packages].

Powered by Google App Engine
This is Rietveld 408576698