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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/layer_picker.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
Index: tracing/tracing/ui/extras/chrome/cc/layer_picker.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/layer_picker.html b/tracing/tracing/ui/extras/chrome/cc/layer_picker.html
index 2b4de24f149696398f90fd40b7b5003137ad7726..78183a73dfb611cec78ac7de6bf9750a42ea1645 100644
--- a/tracing/tracing/ui/extras/chrome/cc/layer_picker.html
+++ b/tracing/tracing/ui/extras/chrome/cc/layer_picker.html
@@ -60,7 +60,8 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
this, 'showPureTransformLayers',
'layerPicker.showPureTransformLayers', false,
'Transform layers');
- showPureTransformLayers.classList.add('show-transform-layers');
+ Polymer.dom(showPureTransformLayers).classList.add(
+ 'show-transform-layers');
showPureTransformLayers.title =
'When checked, pure transform layers are shown';
Polymer.dom(this.controls_).appendChild(showPureTransformLayers);

Powered by Google App Engine
This is Rietveld 408576698