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

Unified Diff: tracing/tracing/ui/extras/chrome/cc/display_item_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/display_item_debugger.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/display_item_debugger.html b/tracing/tracing/ui/extras/chrome/cc/display_item_debugger.html
index 9494546d3b0a98e9977191401f192a923fda79c6..51bd601907a966ca75670833f43316a1b2d652fc 100644
--- a/tracing/tracing/ui/extras/chrome/cc/display_item_debugger.html
+++ b/tracing/tracing/ui/extras/chrome/cc/display_item_debugger.html
@@ -159,7 +159,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
this.displayItemListView_ = new tr.ui.b.ListView();
this.displayItemListView_.addEventListener('selection-changed',
this.onDisplayItemListSelection_.bind(this));
- this.displayItemInfo_.appendChild(this.displayItemListView_);
+ Polymer.dom(this.displayItemInfo_).appendChild(this.displayItemListView_);
this.displayListFilename_ = this.querySelector('.dlfilename');
this.displayListExportButton_ = this.querySelector('.dlexport');
@@ -209,7 +209,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
var listItem = document.createElement(
'tr-ui-e-chrome-cc-display-item-list-item');
listItem.data = item;
- this.displayItemListView_.appendChild(listItem);
+ Polymer.dom(this.displayItemListView_).appendChild(listItem);
}.bind(this));
},
@@ -368,7 +368,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;

Powered by Google App Engine
This is Rietveld 408576698