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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/picture_ops_list_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/chrome/cc/picture_ops_list_view.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html b/tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html
index f95e1bca415b23c843cfceaebfca01fe5cefe466..482b941880f5dfc9df836d737520feab989948ad 100644
--- a/tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html
+++ b/tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html
@@ -89,7 +89,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
'<' + tag + (id ? ' ' : '') +
(id ? id : '') + (className ? ' ' : '') +
(className ? className : '') + '>';
- item.appendChild(elementInfo);
+ Polymer.dom(item).appendChild(elementInfo);
}
// Display the Skia params.
@@ -98,7 +98,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
if (op.info.length > 0) {
var infoItem = document.createElement('div');
infoItem.textContent = JSON.stringify(op.info);
- item.appendChild(infoItem);
+ Polymer.dom(item).appendChild(infoItem);
}
// Display the op timing, if available.
@@ -107,10 +107,10 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
time.classList.add('time');
var rounded = op.cmd_time.toFixed(4);
time.textContent = '(' + rounded + 'ms)';
- item.appendChild(time);
+ Polymer.dom(item).appendChild(time);
}
- this.opsList_.appendChild(item);
+ Polymer.dom(this.opsList_).appendChild(item);
}
},
« no previous file with comments | « tracing/tracing/ui/extras/chrome/cc/picture_debugger.html ('k') | tracing/tracing/ui/extras/drive/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698