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

Unified Diff: tracing/tracing/ui/annotations/comment_box_annotation_view.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/annotations/comment_box_annotation_view.html
diff --git a/tracing/tracing/ui/annotations/comment_box_annotation_view.html b/tracing/tracing/ui/annotations/comment_box_annotation_view.html
index 03eba86146b83b194a63b3cb9692b24d29e2934f..e8be4588586109ef96516da1648f77a8cc43263a 100644
--- a/tracing/tracing/ui/annotations/comment_box_annotation_view.html
+++ b/tracing/tracing/ui/annotations/comment_box_annotation_view.html
@@ -52,7 +52,7 @@ tr.exportTo('tr.ui.annotations', function() {
this.textArea_.value = this.annotation_.text;
// Set the z-index so that this is shown on top of canvas.
this.textArea_.style.zIndex = 1;
- ctx.canvas.parentNode.appendChild(this.textArea_);
+ Polymer.dom(ctx.canvas.parentNode).appendChild(this.textArea_);
}
this.textArea_.style.width = this.styleWidth + 'px';
« no previous file with comments | « tracing/tracing/ui/analysis/stacked_pane_view_test.html ('k') | tracing/tracing/ui/base/checkbox_picker_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698