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

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

Issue 1922193002: [polymer] Replaces this.appendChild with Polymer.dom(this).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/chrome/cc/picture_debugger.html
diff --git a/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html b/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
index 28d51d16d9320686f518e62add3c504638972b8b..0ab2fd68e6a7c4145ea974cafb4d4094a5d39849 100644
--- a/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
+++ b/tracing/tracing/ui/extras/chrome/cc/picture_debugger.html
@@ -126,7 +126,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
var node = tr.ui.b.instantiateTemplate(
'#tr-ui-e-chrome-cc-picture-debugger-template', THIS_DOC);
- this.appendChild(node);
+ Polymer.dom(this).appendChild(node);
this.pictureAsImageData_ = undefined;
this.showOverdraw_ = false;
@@ -208,7 +208,7 @@ tr.exportTo('tr.ui.e.chrome.cc', function() {
e.stopPropagation();
}
}));
- this.appendChild(hkc);
+ Polymer.dom(this).appendChild(hkc);
// Add a mutation observer so that when the view is resized we can
// update the chart summary view.

Powered by Google App Engine
This is Rietveld 408576698