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

Unified Diff: tracing/tracing/ui/analysis/memory_dump_heap_details_pane.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/memory_dump_heap_details_pane.html
diff --git a/tracing/tracing/ui/analysis/memory_dump_heap_details_pane.html b/tracing/tracing/ui/analysis/memory_dump_heap_details_pane.html
index a86a412415e3304bdfe343c2c2bc60ca70f56551..debf307b14d3915e7c8f5ff026004f915b0c5b74 100644
--- a/tracing/tracing/ui/analysis/memory_dump_heap_details_pane.html
+++ b/tracing/tracing/ui/analysis/memory_dump_heap_details_pane.html
@@ -151,9 +151,9 @@ tr.exportTo('tr.ui.analysis', function() {
symbolEl.style.paddingRight = '4px';
symbolEl.style.cursor = 'help';
symbolEl.style.weight = 'bold';
- titleEl.appendChild(symbolEl);
+ Polymer.dom(titleEl).appendChild(symbolEl);
- titleEl.appendChild(document.createTextNode(title));
+ Polymer.dom(titleEl).appendChild(document.createTextNode(title));
return titleEl;
}
@@ -181,22 +181,22 @@ tr.exportTo('tr.ui.analysis', function() {
this.$.info_bar.message = 'Note: Values displayed in the heavy view ' +
'are lower bounds (except for the root).';
- this.$.view_mode_container.appendChild(tr.ui.b.createSelector(
- this, 'viewMode', 'memoryDumpHeapDetailsPane.viewMode',
- tr.b.MultiDimensionalViewType.TOP_DOWN_TREE_VIEW,
- [
- {
- label: 'Top-down (Tree)',
- value: tr.b.MultiDimensionalViewType.TOP_DOWN_TREE_VIEW
- },
- {
- label: 'Top-down (Heavy)',
- value: tr.b.MultiDimensionalViewType.TOP_DOWN_HEAVY_VIEW
- },
- {
- label: 'Bottom-up (Heavy)',
- value: tr.b.MultiDimensionalViewType.BOTTOM_UP_HEAVY_VIEW
- }
+ Polymer.dom(this.$.view_mode_container).appendChild(
+ tr.ui.b.createSelector(this, 'viewMode',
+ 'memoryDumpHeapDetailsPane.viewMode',
+ tr.b.MultiDimensionalViewType.TOP_DOWN_TREE_VIEW, [
+ {
+ label: 'Top-down (Tree)',
+ value: tr.b.MultiDimensionalViewType.TOP_DOWN_TREE_VIEW
+ },
+ {
+ label: 'Top-down (Heavy)',
+ value: tr.b.MultiDimensionalViewType.TOP_DOWN_HEAVY_VIEW
+ },
+ {
+ label: 'Bottom-up (Heavy)',
+ value: tr.b.MultiDimensionalViewType.BOTTOM_UP_HEAVY_VIEW
+ }
]));
},

Powered by Google App Engine
This is Rietveld 408576698