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

Unified Diff: pkg/unittest/lib/html_layout_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_layout_config.dart
diff --git a/pkg/unittest/lib/html_layout_config.dart b/pkg/unittest/lib/html_layout_config.dart
index ddb0415df75943fb398f2348a3eebb682d6f3da7..7e407ba97c6e8f08f8aeaf2a86c0072277dd1e9b 100644
--- a/pkg/unittest/lib/html_layout_config.dart
+++ b/pkg/unittest/lib/html_layout_config.dart
@@ -309,9 +309,9 @@ void useHtmlLayoutConfiguration() {
if (config != null) return;
if (window.location.search == '') { // This is the parent.
_prepareDom();
- configure(new ParentHtmlConfiguration());
+ config = new ParentHtmlConfiguration();
} else {
- configure(new ChildHtmlConfiguration());
+ config = new ChildHtmlConfiguration();
}
}

Powered by Google App Engine
This is Rietveld 408576698