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

Unified Diff: tracing/tracing/ui/analysis/single_object_instance_sub_view.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/analysis/single_object_instance_sub_view.html
diff --git a/tracing/tracing/ui/analysis/single_object_instance_sub_view.html b/tracing/tracing/ui/analysis/single_object_instance_sub_view.html
index 976edb3dc4679a8f913735ff676e7165167a3ece..44c361c72409217b47e2f980af72f439a353e1a4 100644
--- a/tracing/tracing/ui/analysis/single_object_instance_sub_view.html
+++ b/tracing/tracing/ui/analysis/single_object_instance_sub_view.html
@@ -84,7 +84,7 @@ Polymer({
instance.category, instance.typeName);
if (typeInfo) {
var customView = new typeInfo.constructor();
- this.$.content.appendChild(customView);
+ Polymer.dom(this.$.content).appendChild(customView);
customView.modelEvent = instance;
} else {
this.appendGenericAnalysis_(instance);
@@ -113,7 +113,7 @@ Polymer({
instance.snapshots.forEach(function(snapshot) {
var snapshotLink = document.createElement('tr-ui-a-analysis-link');
snapshotLink.selection = new tr.model.EventSet(snapshot);
- snapshotsEl.appendChild(snapshotLink);
+ Polymer.dom(snapshotsEl).appendChild(snapshotLink);
});
}
});

Powered by Google App Engine
This is Rietveld 408576698