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

Unified Diff: tracing/tracing/ui/timeline_view_help_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/timeline_view.html ('k') | tracing/tracing/ui/timeline_viewport.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/timeline_view_help_overlay.html
diff --git a/tracing/tracing/ui/timeline_view_help_overlay.html b/tracing/tracing/ui/timeline_view_help_overlay.html
index 57d3f051c27da7def65c2329024ce05454cde906..bbb8234e16f6ddd20d46b8956f364918e0d4e256 100644
--- a/tracing/tracing/ui/timeline_view_help_overlay.html
+++ b/tracing/tracing/ui/timeline_view_help_overlay.html
@@ -230,7 +230,8 @@ Polymer({
ready: function() {
var mod = tr.isMac ? 'cmd ' : 'ctrl';
- var spans = this.shadowRoot.querySelectorAll('span.mod');
+ var spans = Polymer.dom(this.root).querySelectorAll(
+ 'span.mod');
for (var i = 0; i < spans.length; i++) {
spans[i].textContent = mod;
}
« no previous file with comments | « tracing/tracing/ui/timeline_view.html ('k') | tracing/tracing/ui/timeline_viewport.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698