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

Unified Diff: tracing/tracing/ui/analysis/analysis_view.html

Issue 1967613003: Migrate child element manipulation, innerHTML, classList, attributes, (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: white space fix. Created 4 years, 7 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 33424adff92c236101111dfa6147158746b4d728..149eb59713e87466ff4168dccc899a41e81ea8ea 100644
--- a/tracing/tracing/ui/analysis/analysis_view.html
+++ b/tracing/tracing/ui/analysis/analysis_view.html
@@ -95,13 +95,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() {
@@ -196,7 +196,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