Chromium Code Reviews| Index: runtime/bin/process_patch.dart |
| diff --git a/runtime/bin/process_patch.dart b/runtime/bin/process_patch.dart |
| index b83ec1b60114c10cee1aa3ef05972e036e39937d..cab5b49f3c666af63e4ca081b24f1ca7b3cdfa66 100644 |
| --- a/runtime/bin/process_patch.dart |
| +++ b/runtime/bin/process_patch.dart |
| @@ -198,7 +198,7 @@ class _ProcessImpl extends NativeFieldWrapperClass1 implements Process { |
| throw new ArgumentError("Environment is not a map: $environment"); |
| } |
| if (identical(true, includeParentEnvironment)) { |
| - environment = Platform.environment..addAll(environment); |
| + environment = new Map.from(Platform.environment)..addAll(environment); |
|
Anders Johnsen
2014/01/05 20:41:21
Hmm, this may be a breaking change.
Søren Gjesse
2014/01/06 10:17:32
Yes, I will send out a mail.
|
| } |
| environment.forEach((key, value) { |
| if (key is !String || value is !String) { |