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

Unified Diff: tracing/tracing/ui/extras/chrome/gpu/state_view.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/gpu/state_view.html
diff --git a/tracing/tracing/ui/extras/chrome/gpu/state_view.html b/tracing/tracing/ui/extras/chrome/gpu/state_view.html
index 77bb005fcf35ebf0fc9cbbdd0b37c596dc554533..0ded4e130f752e72bfd0db79db94e2eed4eb5347 100644
--- a/tracing/tracing/ui/extras/chrome/gpu/state_view.html
+++ b/tracing/tracing/ui/extras/chrome/gpu/state_view.html
@@ -27,7 +27,7 @@ tr.exportTo('tr.ui.e.chrome.gpu', function() {
decorate: function() {
this.classList.add('tr-ui-e-chrome-gpu-state-snapshot-view');
this.screenshotImage_ = document.createElement('img');
- this.appendChild(this.screenshotImage_);
+ Polymer.dom(this).appendChild(this.screenshotImage_);
},
updateContents: function() {

Powered by Google App Engine
This is Rietveld 408576698