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

Unified Diff: tests/utils/png_layout_test.dart

Issue 12084116: Fixing case of IE polyfill using deprecated syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Some more test changes. Created 7 years, 11 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
« no previous file with comments | « no previous file | tests/utils/txt_layout_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/utils/png_layout_test.dart
diff --git a/tests/utils/png_layout_test.dart b/tests/utils/png_layout_test.dart
index fe47cb6cd7b9b8b7692bd01c67cd3f91c0fb1486..13a30f74f955b02a74cc2d210be94c2ca82586d7 100644
--- a/tests/utils/png_layout_test.dart
+++ b/tests/utils/png_layout_test.dart
@@ -17,8 +17,8 @@ main() {
var div2Style = _style('red', 25, 30, 40, 10);
var div1 = new Element.html('<div style="$div1Style"></div>');
var div2 = new Element.html('<div style="$div2Style"></div>');
- document.body.elements.add(div1);
- document.body.elements.add(div2);
+ document.body.children.add(div1);
+ document.body.children.add(div2);
}
_style(String color, int top, int left, int width, int height) {
« no previous file with comments | « no previous file | tests/utils/txt_layout_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698