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

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

Issue 1914243003: Replace instances of shadowRoot with root. (Closed) Base URL: https://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
Index: tracing/tracing/ui/base/mouse_mode_selector.html
diff --git a/tracing/tracing/ui/base/mouse_mode_selector.html b/tracing/tracing/ui/base/mouse_mode_selector.html
index 1f475969a0653a6e41e35330eaeaa4d404e69349..0b1f8e53f0885fc397f1f6157fa3c3ac0e666384 100644
--- a/tracing/tracing/ui/base/mouse_mode_selector.html
+++ b/tracing/tracing/ui/base/mouse_mode_selector.html
@@ -122,8 +122,8 @@ tr.exportTo('tr.ui.b', function() {
},
ready: function() {
- this.buttonsEl_ = this.shadowRoot.querySelector('.buttons');
- this.dragHandleEl_ = this.shadowRoot.querySelector('.drag-handle');
+ this.buttonsEl_ = this.root.querySelector('.buttons');
+ this.dragHandleEl_ = this.root.querySelector('.drag-handle');
this.supportedModeMask = MOUSE_SELECTOR_MODE.ALL_MODES;
this.dragHandleEl_.addEventListener('mousedown',
« no previous file with comments | « tracing/tracing/ui/base/grouping_table_groupby_picker.html ('k') | tracing/tracing/ui/base/resize_sensor.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698