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

Unified Diff: tracing/tracing/ui/base/info_bar.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/ui/base/hotkey_controller_test.html ('k') | tracing/tracing/ui/base/line_chart.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/info_bar.html
diff --git a/tracing/tracing/ui/base/info_bar.html b/tracing/tracing/ui/base/info_bar.html
index 1e7bc4e8e35987f089ef9aceaecaed045d781fb5..8e5082538f2f5bab9a33f10c2bbf9ee78593bd9b 100644
--- a/tracing/tracing/ui/base/info_bar.html
+++ b/tracing/tracing/ui/base/info_bar.html
@@ -58,14 +58,14 @@ Polymer({
},
get visible() {
- return !this.classList.contains('info-bar-hidden');
+ return !Polymer.dom(this).classList.contains('info-bar-hidden');
},
set visible(visible) {
if (visible)
- this.classList.remove('info-bar-hidden');
+ Polymer.dom(this).classList.remove('info-bar-hidden');
else
- this.classList.add('info-bar-hidden');
+ Polymer.dom(this).classList.add('info-bar-hidden');
},
removeAllButtons: function() {
« no previous file with comments | « tracing/tracing/ui/base/hotkey_controller_test.html ('k') | tracing/tracing/ui/base/line_chart.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698