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

Unified Diff: tracing/tracing/ui/base/color_legend.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
Index: tracing/tracing/ui/base/color_legend.html
diff --git a/tracing/tracing/ui/base/color_legend.html b/tracing/tracing/ui/base/color_legend.html
index 75e865a791a00ea925294a37970f92731db61b3d..9a1835df8298306b52b2feb6ebb83aadd76fbfdb 100644
--- a/tracing/tracing/ui/base/color_legend.html
+++ b/tracing/tracing/ui/base/color_legend.html
@@ -71,7 +71,7 @@ Polymer({
this.label_ = label;
this.$.label.textContent = '';
- this.$.label.appendChild(tr.ui.b.asHTMLOrTextNode(label));
+ Polymer.dom(this.$.label).appendChild(tr.ui.b.asHTMLOrTextNode(label));
if (colorId === undefined)
this.$.square.style.color = 'initial';
« no previous file with comments | « tracing/tracing/ui/base/checkbox_picker_test.html ('k') | tracing/tracing/ui/base/container_that_decorates_its_children.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698