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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/picture_debugger.html

Issue 1923953003: [polymer] Switches .appendChild() to Polymer.dom()...appendChild() (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: 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/picture_debugger.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html b/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
index 0ab2fd68e6a7c4145ea974cafb4d4094a5d39849..165e39fd40b82468086c70af92d9002c2d798001 100644
--- a/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
+++ b/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
@@ -162,16 +162,16 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
'Show timing summary');
var pictureInfo = this.querySelector('picture-info');
- pictureInfo.appendChild(overdrawCheckbox);
- pictureInfo.appendChild(chartCheckbox);
+ Polymer.dom(pictureInfo).appendChild(overdrawCheckbox);
+ Polymer.dom(pictureInfo).appendChild(chartCheckbox);
this.drawOpsView_ = new tr.ui.e.chrome.cc.PictureOpsListView();
this.drawOpsView_.addEventListener(
'selection-changed', this.onChangeDrawOps_.bind(this));
var leftPanel = this.querySelector('left-panel');
- leftPanel.appendChild(this.drawOpsChartSummaryView_);
- leftPanel.appendChild(this.drawOpsView_);
+ Polymer.dom(leftPanel).appendChild(this.drawOpsChartSummaryView_);
+ Polymer.dom(leftPanel).appendChild(this.drawOpsView_);
var middleDragHandle = document.createElement('tr-ui-b-drag-handle');
middleDragHandle.horizontal = false;
@@ -183,7 +183,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
rightPanel.querySelector('tr-ui-e-chrome-cc-picture-ops-chart-view'));
this.infoBar_ = document.createElement('tr-ui-b-info-bar');
- this.rasterArea_.appendChild(this.infoBar_);
+ Polymer.dom(this.rasterArea_).appendChild(this.infoBar_);
this.insertBefore(middleDragHandle, rightPanel);
@@ -432,7 +432,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
this.mouseModeSelector_ = document.createElement(
'tr-ui-b-mouse-mode-selector');
this.mouseModeSelector_.targetElement = this.rasterArea_;
- this.rasterArea_.appendChild(this.mouseModeSelector_);
+ Polymer.dom(this.rasterArea_).appendChild(this.mouseModeSelector_);
this.mouseModeSelector_.supportedModeMask =
tr.ui.b.MOUSE_SELECTOR_MODE.ZOOM;
« no previous file with comments | « tracing/tracing/ui/extras/chrome/cc/layer_view.html ('k') | tracing/tracing/ui/extras/chrome/cc/picture_ops_list_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698