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

Unified Diff: client/html/benchmarks/dromaeo/tests/DomModify.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
« no previous file with comments | « client/html/benchmarks/dromaeo/Dromaeo.dart ('k') | client/html/benchmarks/dromaeo/tests/DomQuery.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/html/benchmarks/dromaeo/tests/DomModify.dart
diff --git a/client/html/benchmarks/dromaeo/tests/DomModify.dart b/client/html/benchmarks/dromaeo/tests/DomModify.dart
index b3e2637eaf6c5970a81958f1df69d1f9990ac700..912d9f5f2f6505073b92427cd8af8f1d5880881a 100644
--- a/client/html/benchmarks/dromaeo/tests/DomModify.dart
+++ b/client/html/benchmarks/dromaeo/tests/DomModify.dart
@@ -18,11 +18,11 @@ class Main {
new Suite('dom-modify')
.test('createElement', () {
for (int i = 0; i < num; i++) {
- ret = document.createElement('div');
- ret = document.createElement('span');
- ret = document.createElement('table');
- ret = document.createElement('tr');
- ret = document.createElement('select');
+ ret = new Element.tag('div');
+ ret = new Element.tag('span');
+ ret = new Element.tag('table');
+ ret = new Element.tag('tr');
+ ret = new Element.tag('select');
}
})
.test('createTextNode', () {
« no previous file with comments | « client/html/benchmarks/dromaeo/Dromaeo.dart ('k') | client/html/benchmarks/dromaeo/tests/DomQuery.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698