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

Unified Diff: tracing/tracing/trace2html.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
« no previous file with comments | « tracing/tracing/importer/import.html ('k') | tracing/tracing/ui/analysis/analysis_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/trace2html.html
diff --git a/tracing/tracing/trace2html.html b/tracing/tracing/trace2html.html
index 05790b5e6767b6ef25c16a6a1fba393e78292c9e..ba6b953b2944c6110584ae5fd56efa964814eb92 100644
--- a/tracing/tracing/trace2html.html
+++ b/tracing/tracing/trace2html.html
@@ -31,7 +31,7 @@ var g_timelineViewEl;
'}'
];
styleEl.textContent = lines.join('\n');
- document.head.appendChild(styleEl);
+ Polymer.dom(document.head).appendChild(styleEl);
})();
document.addEventListener('DOMContentLoaded', function() {
@@ -39,9 +39,9 @@ document.addEventListener('DOMContentLoaded', function() {
container.id = 'track_view_container';
g_timelineViewEl = document.createElement('tr-ui-timeline-view');
- g_timelineViewEl.appendChild(container);
+ Polymer.dom(g_timelineViewEl).appendChild(container);
- document.body.appendChild(g_timelineViewEl);
+ Polymer.dom(document.body).appendChild(g_timelineViewEl);
var traces = [];
var viewerDataScripts = document.querySelectorAll('#viewer-data');
« no previous file with comments | « tracing/tracing/importer/import.html ('k') | tracing/tracing/ui/analysis/analysis_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698