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

Unified Diff: tracing/tracing/ui/extras/about_tracing/profiling_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/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 801f2b5c4b31279cafdbd1e74e2f880e67095404..509ec0c74b713edf7ec4ae5dbbe7a05cf5d8d73b 100644
--- a/tracing/tracing/ui/extras/about_tracing/profiling_view.html
+++ b/tracing/tracing/ui/extras/about_tracing/profiling_view.html
@@ -78,8 +78,8 @@ tr.exportTo('tr.ui.e.about_tracing', function() {
__proto__: HTMLUnknownElement.prototype,
decorate: function(tracingControllerClient) {
- Polymer.dom(this).appendChild(tr.ui.b.instantiateTemplate('#profiling-view-template',
- THIS_DOC));
+ Polymer.dom(this).appendChild(
+ tr.ui.b.instantiateTemplate('#profiling-view-template', THIS_DOC));
this.timelineView_ = this.querySelector('tr-ui-timeline-view');
this.infoBarGroup_ = this.querySelector('tr-ui-b-info-bar-group');
@@ -93,7 +93,7 @@ tr.exportTo('tr.ui.e.about_tracing', function() {
var buttons = this.querySelector('x-timeline-view-buttons');
buttons.parentElement.removeChild(buttons);
- this.timelineView_.leftControls.appendChild(buttons);
+ Polymer.dom(this.timelineView_.leftControls).appendChild(buttons);
this.initButtons_();
this.timelineView_.hotkeyController.addHotKey(new tr.ui.b.HotKey({

Powered by Google App Engine
This is Rietveld 408576698