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

Unified Diff: tracing/tracing/ui/base/overlay.html

Issue 1928873003: Use Polymer.dom with many dom manipulations. (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: fixes 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/ui/base/name_bar_chart.html ('k') | tracing/tracing/ui/base/overlay_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/overlay.html
diff --git a/tracing/tracing/ui/base/overlay.html b/tracing/tracing/ui/base/overlay.html
index afda50a4434d065db177e6169ca8c83467703429..e0c468369add3538a952673dda3b51bc2b073f33 100644
--- a/tracing/tracing/ui/base/overlay.html
+++ b/tracing/tracing/ui/base/overlay.html
@@ -142,7 +142,7 @@ tr.exportTo('tr.ui.b', function() {
* Initializes the overlay element.
*/
decorate: function() {
- this.classList.add('overlay');
+ Polymer.dom(this).classList.add('overlay');
this.parentEl_ = this.ownerDocument.body;
@@ -246,7 +246,7 @@ tr.exportTo('tr.ui.b', function() {
},
hide_: function() {
- this.parentEl_.removeChild(this);
+ Polymer.dom(this.parentEl_).removeChild(this);
this.parentEl_.removeEventListener('focusin', this.onFocusIn_);
« no previous file with comments | « tracing/tracing/ui/base/name_bar_chart.html ('k') | tracing/tracing/ui/base/overlay_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698