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

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

Issue 2608043002: DevTools: extract modules (with extensions) (Closed)
Patch Set: fix externs (PerfUI) 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..002180a9c8cf81ea9d5ef17dd734cf68f0eaed26 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 = PerfUI.LineLevelProfile.instance();
lineLevelProfile.reset();
lineLevelProfile.appendCPUProfile(this.profile);
}

Powered by Google App Engine
This is Rietveld 408576698