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

Unified Diff: tracing/tracing/ui/analysis/container_memory_dump_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/container_memory_dump_sub_view.html
diff --git a/tracing/tracing/ui/analysis/container_memory_dump_sub_view.html b/tracing/tracing/ui/analysis/container_memory_dump_sub_view.html
index d9d3643ce325e851ad927c8d12747beefbe08276..ea64d90e029154342933fa3fe454078a009d13cb 100644
--- a/tracing/tracing/ui/analysis/container_memory_dump_sub_view.html
+++ b/tracing/tracing/ui/analysis/container_memory_dump_sub_view.html
@@ -89,7 +89,7 @@ tr.exportTo('tr.ui.analysis', function() {
tr.b.dictionaryValues(this.dumpsByContainerName_)[0];
var dumpView = this.ownerDocument.createElement(
'tr-ui-a-stacked-pane-view');
- this.$.content.appendChild(dumpView);
+ Polymer.dom(this.$.content).appendChild(dumpView);
dumpView.setPaneBuilder(function() {
var headerPane = document.createElement(
'tr-ui-a-memory-dump-header-pane');
@@ -128,22 +128,23 @@ tr.exportTo('tr.ui.analysis', function() {
singleDumpValue_: function(row) {
var linkEl = ownerDocument.createElement('tr-ui-a-analysis-link');
linkEl.setSelectionAndContent(new tr.model.EventSet([row]));
- linkEl.appendChild(tr.v.ui.createScalarSpan(row.start, {
- unit: tr.v.Unit.byName.timeStampInMs,
- ownerDocument: ownerDocument
- }));
+ Polymer.dom(linkEl).appendChild(tr.v.ui.createScalarSpan(
+ row.start, {
+ unit: tr.v.Unit.byName.timeStampInMs,
+ ownerDocument: ownerDocument
+ }));
return linkEl;
},
groupedDumpValue_: function(row) {
var linkEl = ownerDocument.createElement('tr-ui-a-analysis-link');
linkEl.setSelectionAndContent(new tr.model.EventSet(row.subRows));
- linkEl.appendChild(tr.ui.b.createSpan({
+ Polymer.dom(linkEl).appendChild(tr.ui.b.createSpan({
ownerDocument: ownerDocument,
textContent: row.subRows.length + ' memory dump' +
(row.subRows.length === 1 ? '' : 's') + ' in '
}));
- linkEl.appendChild(tr.ui.b.createSpan({
+ Polymer.dom(linkEl).appendChild(tr.ui.b.createSpan({
ownerDocument: ownerDocument,
textContent: row.containerName,
bold: true
@@ -158,7 +159,7 @@ tr.exportTo('tr.ui.analysis', function() {
table.tableRows = rows;
table.showHeader = false;
table.rebuild();
- this.$.content.appendChild(table);
+ Polymer.dom(this.$.content).appendChild(table);
}
});
« no previous file with comments | « tracing/tracing/ui/analysis/analysis_view.html ('k') | tracing/tracing/ui/analysis/container_memory_dump_sub_view_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698