Index: tracing/tracing/base/base.html |
diff --git a/tracing/tracing/base/base.html b/tracing/tracing/base/base.html |
index dba4d7b6f242a64f05c943fbcbecd7cd79f46cd9..9c9254b6c7f3ac8e79ce9745cef4437dc32602b5 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'; |
- Polymer.dom(panicOverlay).appendChild(panicElement); |
+ panicOverlay.appendChild(panicElement); |
if (!document.body) { |
setTimeout(function() { |
- Polymer.dom(document.body).appendChild(panicOverlay); |
+ document.body.appendChild(panicOverlay); |
}, 150); |
} else { |
- Polymer.dom(document.body).appendChild(panicOverlay); |
+ document.body.appendChild(panicOverlay); |
} |
} |
@@ -119,14 +119,12 @@ this.tr = (function() { |
showPanicElementIfNeeded(); |
var panicMessageEl = document.createElement('div'); |
- Polymer.dom(panicMessageEl).innerHTML = |
+ panicMessageEl.innerHTML = |
'<h2 id="message"></h2>' + |
'<pre id="details"></pre>'; |
- Polymer.dom(Polymer.dom(panicMessageEl).querySelector('#message')). |
- textContent = panicTitle; |
- Polymer.dom(Polymer.dom(panicMessageEl).querySelector('#details')). |
- textContent = panicDetails; |
- Polymer.dom(panicElement).appendChild(panicMessageEl); |
+ panicMessageEl.querySelector('#message').textContent = panicTitle; |
+ panicMessageEl.querySelector('#details').textContent = panicDetails; |
+ panicElement.appendChild(panicMessageEl); |
rawPanicMessages.push({ |
title: panicTitle, |