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

Unified Diff: tracing/tracing/ui/base/dropdown.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
Index: tracing/tracing/ui/base/dropdown.html
diff --git a/tracing/tracing/ui/base/dropdown.html b/tracing/tracing/ui/base/dropdown.html
index df9099f82f8f9621935d190e1f197af5a4a65e34..5c2f4dfe170a93e5a61bf150611ab957c8d7ea68 100644
--- a/tracing/tracing/ui/base/dropdown.html
+++ b/tracing/tracing/ui/base/dropdown.html
@@ -118,7 +118,7 @@ Polymer({
if (this.isOpen)
return;
- this.$.outer.classList.add('open');
+ Polymer.dom(this.$.outer).classList.add('open');
var ddr = this.$.outer.getBoundingClientRect();
var rW = Math.max(ddr.width, 150);
@@ -149,7 +149,7 @@ Polymer({
if (!this.isOpen)
return;
this.$.dialog.close();
- this.$.outer.classList.remove('open');
+ Polymer.dom(this.$.outer).classList.remove('open');
this.$.outer.focus();
},
« no previous file with comments | « tracing/tracing/ui/base/drag_handle_test.html ('k') | tracing/tracing/ui/base/grouping_table_groupby_picker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698