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

Unified Diff: pkg/unittest/lib/html_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_config.dart
diff --git a/pkg/unittest/lib/html_config.dart b/pkg/unittest/lib/html_config.dart
index 1b9d12a3ff03d8e8a1aa260bff339cc3de925806..0e4874860e5b8ae6d540924be42651bdcdc07ab1 100644
--- a/pkg/unittest/lib/html_config.dart
+++ b/pkg/unittest/lib/html_config.dart
@@ -164,6 +164,5 @@ class HtmlConfiguration extends Configuration {
}
void useHtmlConfiguration([bool isLayoutTest = false]) {
- if (config != null) return;
- configure(new HtmlConfiguration(isLayoutTest));
+ config = new HtmlConfiguration(isLayoutTest);
}

Powered by Google App Engine
This is Rietveld 408576698