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

Unified Diff: tracing/tracing/ui/extras/about_tracing/profiling_view.html

Issue 1928873003: Use Polymer.dom with many dom manipulations. (Closed) Base URL: https://github.com/catapult-project/catapult.git@polymer10-migration
Patch Set: fixes 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/about_tracing/profiling_view.html
diff --git a/tracing/tracing/ui/extras/about_tracing/profiling_view.html b/tracing/tracing/ui/extras/about_tracing/profiling_view.html
index 97ba57b878bf723c60b8fe504674d4871b9181f0..18afe64461f148a2b6bf522a8509ef433e6e4d52 100644
--- a/tracing/tracing/ui/extras/about_tracing/profiling_view.html
+++ b/tracing/tracing/ui/extras/about_tracing/profiling_view.html
@@ -92,7 +92,7 @@ tr.exportTo('tr.ui.e.about_tracing', function() {
this.saveButton_ = this.querySelector('#save-button');
var buttons = this.querySelector('x-timeline-view-buttons');
- buttons.parentElement.removeChild(buttons);
+ Polymer.dom(buttons.parentElement).removeChild(buttons);
Polymer.dom(this.timelineView_.leftControls).appendChild(buttons);
this.initButtons_();

Powered by Google App Engine
This is Rietveld 408576698