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

Unified Diff: tracing/tracing/ui/base/chart_base.html

Issue 1922193002: [polymer] Replaces this.appendChild with Polymer.dom(this).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
Index: tracing/tracing/ui/base/chart_base.html
diff --git a/tracing/tracing/ui/base/chart_base.html b/tracing/tracing/ui/base/chart_base.html
index 5155376058a907ef90e88adbe8c869844b6ee941..b22ba2e65e6fc0da94f3c5a59c7bd915ec1152cf 100644
--- a/tracing/tracing/ui/base/chart_base.html
+++ b/tracing/tracing/ui/base/chart_base.html
@@ -78,7 +78,7 @@ tr.exportTo('tr.ui.b', function() {
var template = THIS_DOC.querySelector('#chart-base-template');
var svgEl = template.content.querySelector('svg');
for (var i = 0; i < svgEl.children.length; i++)
- this.appendChild(svgEl.children[i].cloneNode(true));
+ Polymer.dom(this).appendChild(svgEl.children[i].cloneNode(true));
// svg likes to take over width & height properties for some reason. This
// works around it.

Powered by Google App Engine
This is Rietveld 408576698