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

Unified Diff: sky/benchmarks/dom/creation.sky

Issue 879733002: Replace createTextNode with new Text(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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 | sky/benchmarks/layout/simple-blocks.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/benchmarks/dom/creation.sky
diff --git a/sky/benchmarks/dom/creation.sky b/sky/benchmarks/dom/creation.sky
index 0f05fe9df89818979084cba458c2382c63f05d18..7076a7e064ad210bd9a0b26b7fee276cee109a0f 100644
--- a/sky/benchmarks/dom/creation.sky
+++ b/sky/benchmarks/dom/creation.sky
@@ -44,7 +44,7 @@ function createElement(tagName) {
function createText(text) {
texts++;
- return document.createTextNode(text);
+ return new Text(text);
}
function createElements(root, depth) {
« no previous file with comments | « no previous file | sky/benchmarks/layout/simple-blocks.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698