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

Unified Diff: client/html/benchmarks/dromaeo/Dromaeo.dart

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years 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: client/html/benchmarks/dromaeo/Dromaeo.dart
diff --git a/client/html/benchmarks/dromaeo/Dromaeo.dart b/client/html/benchmarks/dromaeo/Dromaeo.dart
index 2e1dd6870fc928c35ddcdbcde59d8d6e11a49dc8..a61ec5ef46246b465069fcdaaeada2dc69ab09e5 100644
--- a/client/html/benchmarks/dromaeo/Dromaeo.dart
+++ b/client/html/benchmarks/dromaeo/Dromaeo.dart
@@ -69,7 +69,7 @@ class SuiteController {
}
DivElement _createDiv(String clazz) {
- final div = document.createElement('div');
+ final div = new Element.tag('div');
div.attributes['class'] = clazz;
return div;
}
@@ -100,7 +100,7 @@ class Dromaeo {
document.query('#overview').elements.first.innerHTML = 'DOM Core Tests';
_css(document.query('#tests'), 'display', 'none');
for (SuiteDescription suite in Suites.SUITE_DESCRIPTIONS) {
- final iframe = document.createElement('iframe');
+ final iframe = new Element.tag('iframe');
_css(iframe, 'height', '1px');
_css(iframe, 'width', '1px');
iframe.src = 'tests/' + suite.file;
« no previous file with comments | « client/fling/dist/runtime/apps/adminz/adminz.dart ('k') | client/html/benchmarks/dromaeo/tests/DomModify.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698