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

Unified Diff: tracing/tracing/ui/tracks/drawing_container.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/tracks/device_track.html ('k') | tracing/tracing/ui/tracks/letter_dot_track.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/tracks/drawing_container.html
diff --git a/tracing/tracing/ui/tracks/drawing_container.html b/tracing/tracing/ui/tracks/drawing_container.html
index c6e64cdb102e41864b50c0482d4c1f625806e3af..7fc1653e565333e0339e3ead92194e4e45cda292 100644
--- a/tracing/tracing/ui/tracks/drawing_container.html
+++ b/tracing/tracing/ui/tracks/drawing_container.html
@@ -35,7 +35,7 @@ tr.exportTo('tr.ui.tracks', function() {
decorate: function(viewport) {
tr.ui.tracks.Track.prototype.decorate.call(this, viewport);
- this.classList.add('drawing-container');
+ Polymer.dom(this).classList.add('drawing-container');
this.canvas_ = document.createElement('canvas');
this.canvas_.className = 'drawing-container-canvas';
« no previous file with comments | « tracing/tracing/ui/tracks/device_track.html ('k') | tracing/tracing/ui/tracks/letter_dot_track.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698