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

Unified Diff: tracing/tracing/value/ui/scalar_span.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/view_specific_brushing_state.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/value/ui/scalar_span.html
diff --git a/tracing/tracing/value/ui/scalar_span.html b/tracing/tracing/value/ui/scalar_span.html
index aea5ec7b63d94f447346a4e3042be41f0740bc68..f60f14b20202840e80138342f392c1cd3a8e9940 100644
--- a/tracing/tracing/value/ui/scalar_span.html
+++ b/tracing/tracing/value/ui/scalar_span.html
@@ -151,14 +151,14 @@ Polymer({
},
get rightAlign() {
- return this.$.content.classList.contains('right-align');
+ return Polymer.dom(this.$.content).classList.contains('right-align');
},
set rightAlign(rightAlign) {
if (rightAlign)
- this.$.content.classList.add('right-align');
+ Polymer.dom(this.$.content).classList.add('right-align');
else
- this.$.content.classList.remove('right-align');
+ Polymer.dom(this.$.content).classList.remove('right-align');
},
updateSparkline_: function() {
« no previous file with comments | « tracing/tracing/ui/view_specific_brushing_state.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698