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

Unified Diff: Source/devtools/front_end/profiler/HeapSnapshotView.js

Issue 429883004: DevTools: add pie chart to the paint profiler overview. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaselined Created 6 years, 5 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
« no previous file with comments | « Source/devtools/front_end/layersPanel.css ('k') | Source/devtools/front_end/timeline/PaintProfilerView.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/profiler/HeapSnapshotView.js
diff --git a/Source/devtools/front_end/profiler/HeapSnapshotView.js b/Source/devtools/front_end/profiler/HeapSnapshotView.js
index 22d4944b7d98debd9a565016a9cb1c2664eaffe8..03b7061889f8b3cf06ef75b0a5b52dada1a615d5 100644
--- a/Source/devtools/front_end/profiler/HeapSnapshotView.js
+++ b/Source/devtools/front_end/profiler/HeapSnapshotView.js
@@ -2082,8 +2082,7 @@ WebInspector.HeapSnapshotStatisticsView = function()
{
WebInspector.VBox.call(this);
this.setMinimumSize(50, 25);
- this._pieChart = new WebInspector.PieChart();
- this._pieChart.setSize(150);
+ this._pieChart = new WebInspector.PieChart(150);
this.element.appendChild(this._pieChart.element);
this._labels = this.element.createChild("div", "heap-snapshot-stats-legend");
}
« no previous file with comments | « Source/devtools/front_end/layersPanel.css ('k') | Source/devtools/front_end/timeline/PaintProfilerView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698