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

Unified Diff: tracing/tracing/value/ui/scalar_span_test.html

Issue 1923953003: [polymer] Switches .appendChild() to Polymer.dom()...appendChild() (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Created 4 years, 8 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 | « tracing/tracing/value/ui/histogram_span.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/ui/scalar_span_test.html
diff --git a/tracing/tracing/value/ui/scalar_span_test.html b/tracing/tracing/value/ui/scalar_span_test.html
index b380f591f123dc8517e1c90f227e7f7bdf26e508..134c5990c7b81a07677c0021e0404ef942ad3d7b 100644
--- a/tracing/tracing/value/ui/scalar_span_test.html
+++ b/tracing/tracing/value/ui/scalar_span_test.html
@@ -149,9 +149,9 @@ tr.b.unittest.testSuite(function() {
var overall = document.createElement('div');
overall.style.display = 'flex';
- overall.appendChild(spanA);
+ Polymer.dom(overall).appendChild(spanA);
spanB.style.marginLeft = '4px';
- overall.appendChild(spanB);
+ Polymer.dom(overall).appendChild(spanB);
this.addHTMLOutput(overall);
});
@@ -182,7 +182,7 @@ tr.b.unittest.testSuite(function() {
if (percentage !== null)
span.percentage = percentage;
- div.appendChild(span);
+ Polymer.dom(div).appendChild(span);
var computedStyle = getComputedStyle(span.$.sparkline);
assert.equal(computedStyle.display, expectedDisplay);
« no previous file with comments | « tracing/tracing/value/ui/histogram_span.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698