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

Unified Diff: client/dom/benchmarks/dromaeo/tests/dom-modify.dart

Issue 8330003: Rename cloneNode to clone and move it into the Node interface. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 2 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 | client/html/benchmarks/dromaeo/tests/DomModify.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/benchmarks/dromaeo/tests/dom-modify.dart
diff --git a/client/dom/benchmarks/dromaeo/tests/dom-modify.dart b/client/dom/benchmarks/dromaeo/tests/dom-modify.dart
index 7746bea5e94f67222966a4be58374aa2b86077bf..2690f13250a158040f5561fd1232e4c9ad063902 100644
--- a/client/dom/benchmarks/dromaeo/tests/dom-modify.dart
+++ b/client/dom/benchmarks/dromaeo/tests/dom-modify.dart
@@ -47,11 +47,11 @@ void main() {
elems.add(telems[i]);
}
})
- .test('cloneNode', () {
+ .test('clone', () {
for (int i = 0; i < elems.length; i++) {
Jacob 2011/10/18 01:36:48 Don't modify this file. It uses the dart:dom libra
nweiz 2011/10/18 19:49:41 Done.
- ret = elems[i].cloneNode(false);
- ret = elems[i].cloneNode(true);
- ret = elems[i].cloneNode(true);
+ ret = elems[i].clone(false);
+ ret = elems[i].clone(true);
+ ret = elems[i].clone(true);
}
})
.test('appendChild', () {
« no previous file with comments | « no previous file | client/html/benchmarks/dromaeo/tests/DomModify.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698