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

Unified Diff: tracing/tracing/ui/analysis/analysis_view.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/model/stack_frame.html ('k') | tracing/tracing/ui/analysis/frame_power_usage_chart.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/analysis/analysis_view.html
diff --git a/tracing/tracing/ui/analysis/analysis_view.html b/tracing/tracing/ui/analysis/analysis_view.html
index c7a2208f7d55ca09f96c82df4a59397934a46254..cd43bb5f4618954336ecf9448db1eab0291786d0 100644
--- a/tracing/tracing/ui/analysis/analysis_view.html
+++ b/tracing/tracing/ui/analysis/analysis_view.html
@@ -96,13 +96,13 @@ using custom elements specialized for different event types.
set tallMode(value) {
if (value)
- this.classList.add('tall-mode');
+ Polymer.dom(this).classList.add('tall-mode');
else
- this.classList.remove('tall-mode');
+ Polymer.dom(this).classList.remove('tall-mode');
},
get tallMode() {
- return this.classList.contains('tall-mode');
+ return Polymer.dom(this).classList.contains('tall-mode');
},
get tabView() {
@@ -197,7 +197,7 @@ using custom elements specialized for different event types.
}
// If all else fails, pick the first tab.
if (!tab)
- tab = this.tabView_.firstChild;
+ tab = Polymer.dom(this.tabView_).firstChild;
this.tabView_.selectedTab = tab;
this.onSelectedTabChange_();
« no previous file with comments | « tracing/tracing/model/stack_frame.html ('k') | tracing/tracing/ui/analysis/frame_power_usage_chart.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698