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

Unified Diff: pkg/unittest/lib/vm_config.dart

Issue 12770017: pkg/unittest: config refactor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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: pkg/unittest/lib/vm_config.dart
diff --git a/pkg/unittest/lib/vm_config.dart b/pkg/unittest/lib/vm_config.dart
index 1f4ce0da24e07299f178e9743bae017c985fb712..349d26a896f3edf0e7db719fa77267dd45636927 100644
--- a/pkg/unittest/lib/vm_config.dart
+++ b/pkg/unittest/lib/vm_config.dart
@@ -25,8 +25,7 @@ class VMConfiguration extends Configuration {
}
void useVMConfiguration() {
- if (config != null) return;
- configure(new VMConfiguration());
+ config = new VMConfiguration();
}
@deprecated

Powered by Google App Engine
This is Rietveld 408576698