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

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

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fixes Created 3 years, 11 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: third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js
index 3fb466a5f496db368896874e4e9a69f5c100733d..8b2d09ed7a495b6986e8b846a8652d870bb313cc 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js
@@ -44,7 +44,7 @@ Profiler.CPUProfileView = class extends Profiler.ProfileView {
*/
wasShown() {
super.wasShown();
- var lineLevelProfile = Components.LineLevelProfile.instance();
+ var lineLevelProfile = Perf_UI.LineLevelProfile.instance();
lineLevelProfile.reset();
lineLevelProfile.appendCPUProfile(this.profile);
}
@@ -66,7 +66,7 @@ Profiler.CPUProfileView = class extends Profiler.ProfileView {
/**
* @override
- * @return {!UI.FlameChartDataProvider}
+ * @return {!Perf_UI.FlameChartDataProvider}
*/
createFlameChartDataProvider() {
return new Profiler.CPUFlameChartDataProvider(this.profile, this._profileHeader.target());
@@ -340,7 +340,7 @@ Profiler.CPUFlameChartDataProvider = class extends Profiler.ProfileFlameChartDat
/**
* @override
- * @return {!UI.FlameChart.TimelineData}
+ * @return {!Perf_UI.FlameChart.TimelineData}
*/
_calculateTimelineData() {
/** @type {!Array.<?Profiler.CPUFlameChartDataProvider.ChartEntry>} */
@@ -387,7 +387,7 @@ Profiler.CPUFlameChartDataProvider = class extends Profiler.ProfileFlameChartDat
this._maxStackDepth = maxDepth;
- this._timelineData = new UI.FlameChart.TimelineData(entryLevels, entryTotalTimes, entryStartTimes, null);
+ this._timelineData = new Perf_UI.FlameChart.TimelineData(entryLevels, entryTotalTimes, entryStartTimes, null);
/** @type {!Array<!SDK.CPUProfileNode>} */
this._entryNodes = entryNodes;

Powered by Google App Engine
This is Rietveld 408576698