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

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

Issue 1922863004: Use Polymer.dom with insertBefore. (Closed) Base URL: https://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
« no previous file with comments | « tracing/tracing/ui/base/table.html ('k') | tracing/tracing/ui/extras/chrome/cc/picture_debugger.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ad9a568837953f3ed79774c4fc39f163e212f853 100644
--- a/tracing/tracing/ui/extras/chrome/cc/display_item_debugger.html
+++ b/tracing/tracing/ui/extras/chrome/cc/display_item_debugger.html
@@ -180,20 +180,23 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
var rightPanel = this.querySelector('right-panel');
this.infoBar_ = document.createElement('tr-ui-b-info-bar');
- this.rasterArea_.insertBefore(this.infoBar_, this.rasterCanvas_);
+ Polymer.dom(this.rasterArea_).insertBefore(
+ this.infoBar_, this.rasterCanvas_);
- this.insertBefore(middleDragHandle, rightPanel);
+ Polymer.dom(this).insertBefore(middleDragHandle, rightPanel);
this.picture_ = undefined;
this.pictureOpsListView_ = new tr.ui.e.chrome.cc.PictureOpsListView();
- rightPanel.insertBefore(this.pictureOpsListView_, this.rasterArea_);
+ Polymer.dom(rightPanel).insertBefore(
+ this.pictureOpsListView_, this.rasterArea_);
this.pictureOpsListDragHandle_ =
document.createElement('tr-ui-b-drag-handle');
this.pictureOpsListDragHandle_.horizontal = false;
this.pictureOpsListDragHandle_.target = this.pictureOpsListView_;
- rightPanel.insertBefore(this.pictureOpsListDragHandle_, this.rasterArea_);
+ Polymer.dom(rightPanel).insertBefore(
+ this.pictureOpsListDragHandle_, this.rasterArea_);
},
get picture() {
« no previous file with comments | « tracing/tracing/ui/base/table.html ('k') | tracing/tracing/ui/extras/chrome/cc/picture_debugger.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698