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

Unified Diff: tracing/tracing/ui/scripting_control.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/extras/chrome/cc/picture_debugger.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tracing/tracing/ui/scripting_control.html
diff --git a/tracing/tracing/ui/scripting_control.html b/tracing/tracing/ui/scripting_control.html
index ebbaffb54dc03384254655a01cd5abe4527bc01a..de82d4d230daa394d2cfb75f9eaa5fd4acc4d62b 100644
--- a/tracing/tracing/ui/scripting_control.html
+++ b/tracing/tracing/ui/scripting_control.html
@@ -101,7 +101,7 @@ Polymer({
var parent = promptEl.parentElement;
var nextEl = promptEl.nextSibling;
promptEl.remove();
- parent.insertBefore(promptEl, nextEl);
+ Polymer.dom(parent).insertBefore(promptEl, nextEl);
}
},
« no previous file with comments | « tracing/tracing/ui/extras/chrome/cc/picture_debugger.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698