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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js

Issue 2566983004: DevTools: Fix profiler private field accesses. (Closed)
Patch Set: Created 4 years 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: third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js b/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
index d489167e09e523d13c4a1729cab76e5819523f55..7577cb74105a57663a7d0c75bbe33bcd5f742717 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileFlameChart.js
@@ -33,12 +33,8 @@
* @unrestricted
*/
Profiler.ProfileFlameChartDataProvider = class {
- /**
- * @param {?SDK.Target} target
- */
- constructor(target) {
+ constructor() {
UI.FlameChartDataProvider.call(this);
- this._target = target;
this._colorGenerator = Profiler.ProfileFlameChartDataProvider.colorGenerator();
}

Powered by Google App Engine
This is Rietveld 408576698