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

Unified Diff: tracing/tracing/ui/tracks/multi_row_track.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/tracks/multi_row_track.html
diff --git a/tracing/tracing/ui/tracks/multi_row_track.html b/tracing/tracing/ui/tracks/multi_row_track.html
index 04637ef2d2ae3dee30a63220237cbfb60e1281be..6abbb6b321973e4a1182b831a37372df0dfd7636 100644
--- a/tracing/tracing/ui/tracks/multi_row_track.html
+++ b/tracing/tracing/ui/tracks/multi_row_track.html
@@ -178,10 +178,10 @@ tr.exportTo('tr.ui.tracks', function() {
},
updateHeadingAndTooltip_: function() {
- if (!this.firstChild)
+ if (!Polymer.dom(this).firstChild)
return;
- this.firstChild.heading = this.heading_;
- this.firstChild.tooltip = this.tooltip_;
+ Polymer.dom(this).firstChild.heading = this.heading_;
+ Polymer.dom(this).firstChild.tooltip = this.tooltip_;
},
/**
« no previous file with comments | « tracing/tracing/ui/tracks/model_track.html ('k') | tracing/tracing/ui/tracks/object_instance_group_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698