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

Unified Diff: tracing/tracing/ui/analysis/frame_power_usage_chart.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/analysis/frame_power_usage_chart.html
diff --git a/tracing/tracing/ui/analysis/frame_power_usage_chart.html b/tracing/tracing/ui/analysis/frame_power_usage_chart.html
index 840cf8a5c972186b45e603ac90eb6d1a8d9bbe34..9177a60a37d6a841db9659197d11ca2bb6a15c60 100644
--- a/tracing/tracing/ui/analysis/frame_power_usage_chart.html
+++ b/tracing/tracing/ui/analysis/frame_power_usage_chart.html
@@ -88,8 +88,8 @@ Polymer({
clearChart_: function() {
var content = this.$.content;
- while (content.firstChild)
- content.removeChild(content.firstChild);
+ while (Polymer.dom(content).firstChild)
+ Polymer.dom(content).removeChild(Polymer.dom(content).firstChild);
this.chart_ = undefined;
},
« no previous file with comments | « tracing/tracing/ui/analysis/analysis_view.html ('k') | tracing/tracing/ui/analysis/generic_object_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698