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

Unified Diff: tracing/tracing/ui/extras/system_stats/system_stats_snapshot_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/extras/system_stats/system_stats_snapshot_view.html
diff --git a/tracing/tracing/ui/extras/system_stats/system_stats_snapshot_view.html b/tracing/tracing/ui/extras/system_stats/system_stats_snapshot_view.html
index ca936c9ccf6c33e820b85f0bc3bb46b4ba15551b..ff08434ab9ca43321a00bce64cffcd86f097b242 100644
--- a/tracing/tracing/ui/extras/system_stats/system_stats_snapshot_view.html
+++ b/tracing/tracing/ui/extras/system_stats/system_stats_snapshot_view.html
@@ -56,10 +56,10 @@ tr.exportTo('tr.ui.e.system_stats', function() {
for (var statName in stats) {
var statText = document.createElement('li');
statText.textContent = '' + statName + ': ';
- statList.appendChild(statText);
+ Polymer.dom(statList).appendChild(statText);
if (stats[statName] instanceof Object) {
- statList.appendChild(this.buildList_(stats[statName]));
+ Polymer.dom(statList).appendChild(this.buildList_(stats[statName]));
} else {
if (this.isFloat(stats[statName]))
statText.textContent += stats[statName].toFixed(2);

Powered by Google App Engine
This is Rietveld 408576698