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

Unified Diff: tracing/tracing/ui/tracks/counter_track.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/tracks/container_track.html ('k') | tracing/tracing/ui/tracks/cpu_track.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/tracks/counter_track.html
diff --git a/tracing/tracing/ui/tracks/counter_track.html b/tracing/tracing/ui/tracks/counter_track.html
index 759b24335960c51e984e6d25efe351ef07a8f7e5..638c8bbce41bc66f3a18ad168a775f63cbe8b876 100644
--- a/tracing/tracing/ui/tracks/counter_track.html
+++ b/tracing/tracing/ui/tracks/counter_track.html
@@ -5,11 +5,11 @@ Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
+<link rel="import" href="/tracing/ui/base/ui.html">
<link rel="import" href="/tracing/ui/tracks/chart_axis.html">
<link rel="import" href="/tracing/ui/tracks/chart_point.html">
<link rel="import" href="/tracing/ui/tracks/chart_series.html">
<link rel="import" href="/tracing/ui/tracks/chart_track.html">
-<link rel="import" href="/tracing/ui/base/ui.html">
<script>
'use strict';
@@ -28,7 +28,7 @@ tr.exportTo('tr.ui.tracks', function() {
decorate: function(viewport) {
tr.ui.tracks.ChartTrack.prototype.decorate.call(this, viewport);
- this.classList.add('counter-track');
+ Polymer.dom(this).classList.add('counter-track');
},
get counter() {
« no previous file with comments | « tracing/tracing/ui/tracks/container_track.html ('k') | tracing/tracing/ui/tracks/cpu_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698