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

Unified Diff: tracing/tracing/base/base.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 | « no previous file | tracing/tracing/base/unittest/html_test_results.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/base/base.html
diff --git a/tracing/tracing/base/base.html b/tracing/tracing/base/base.html
index 9c9254b6c7f3ac8e79ce9745cef4437dc32602b5..53239739c8c6c0b0ade3d9f9dfc8608b9ef63f66 100644
--- a/tracing/tracing/base/base.html
+++ b/tracing/tracing/base/base.html
@@ -96,14 +96,14 @@ this.tr = (function() {
panicElement = document.createElement('div');
panicElement.style.webkitFlex = '1 1 auto';
panicElement.style.overflow = 'auto';
- panicOverlay.appendChild(panicElement);
+ Polymer.dom(panicOverlay).appendChild(panicElement);
if (!document.body) {
setTimeout(function() {
- document.body.appendChild(panicOverlay);
+ Polymer.dom(document.body).appendChild(panicOverlay);
}, 150);
} else {
- document.body.appendChild(panicOverlay);
+ Polymer.dom(document.body).appendChild(panicOverlay);
}
}
@@ -124,7 +124,7 @@ this.tr = (function() {
'<pre id="details"></pre>';
panicMessageEl.querySelector('#message').textContent = panicTitle;
panicMessageEl.querySelector('#details').textContent = panicDetails;
- panicElement.appendChild(panicMessageEl);
+ Polymer.dom(panicElement).appendChild(panicMessageEl);
rawPanicMessages.push({
title: panicTitle,
« no previous file with comments | « no previous file | tracing/tracing/base/unittest/html_test_results.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698