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

Unified Diff: tracing/tracing/ui/analysis/single_object_instance_sub_view.html

Issue 1928873003: Use Polymer.dom with many dom manipulations. (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: fixes 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 44c361c72409217b47e2f980af72f439a353e1a4..1e94581f3eca0be68d7412aee9901e487fd36757 100644
--- a/tracing/tracing/ui/analysis/single_object_instance_sub_view.html
+++ b/tracing/tracing/ui/analysis/single_object_instance_sub_view.html
@@ -108,7 +108,7 @@ Polymer({
}
html += '<tr><td>snapshots:</td><td id="snapshots"></td></tr>\n';
html += '</table>';
- this.$.content.innerHTML = html;
+ Polymer.dom(this.$.content).innerHTML = html;
var snapshotsEl = this.$.content.querySelector('#snapshots');
instance.snapshots.forEach(function(snapshot) {
var snapshotLink = document.createElement('tr-ui-a-analysis-link');

Powered by Google App Engine
This is Rietveld 408576698