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

Unified Diff: pkg/unittest/lib/html_enhanced_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/html_enhanced_config.dart
diff --git a/pkg/unittest/lib/html_enhanced_config.dart b/pkg/unittest/lib/html_enhanced_config.dart
index f9b9088d2955f40faaaec4506a0161605ec11633..d4ff25a305c8625708160c0e00e9832de772ad99 100644
--- a/pkg/unittest/lib/html_enhanced_config.dart
+++ b/pkg/unittest/lib/html_enhanced_config.dart
@@ -418,6 +418,5 @@ class HtmlEnhancedConfiguration extends Configuration {
}
void useHtmlEnhancedConfiguration([bool isLayoutTest = false]) {
- if (config != null) return;
- configure(new HtmlEnhancedConfiguration(isLayoutTest));
+ config = new HtmlEnhancedConfiguration(isLayoutTest);
}

Powered by Google App Engine
This is Rietveld 408576698