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

Unified Diff: tracing/tracing/ui/base/name_bar_chart.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/mouse_mode_selector.html ('k') | tracing/tracing/ui/base/overlay.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/base/name_bar_chart.html
diff --git a/tracing/tracing/ui/base/name_bar_chart.html b/tracing/tracing/ui/base/name_bar_chart.html
index dcfdbaa17c63e58d4e0a74b5a830492a312759d6..8d594fb5c1202a4209f5cc8243e715a77ee08d14 100644
--- a/tracing/tracing/ui/base/name_bar_chart.html
+++ b/tracing/tracing/ui/base/name_bar_chart.html
@@ -6,8 +6,8 @@ found in the LICENSE file.
-->
<link rel="import" href="/tracing/base/range.html">
-<link rel="import" href="/tracing/ui/base/d3.html">
<link rel="import" href="/tracing/ui/base/bar_chart.html">
+<link rel="import" href="/tracing/ui/base/d3.html">
<script>
'use strict';
@@ -23,8 +23,8 @@ tr.exportTo('tr.ui.b', function() {
decorate: function() {
BarChart.prototype.decorate.call(this);
- this.classList.remove('bar-chart');
- this.classList.add('name-bar-chart');
+ Polymer.dom(this).classList.remove('bar-chart');
+ Polymer.dom(this).classList.add('name-bar-chart');
this.bottomMargin_ = 40;
},
« no previous file with comments | « tracing/tracing/ui/base/mouse_mode_selector.html ('k') | tracing/tracing/ui/base/overlay.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698