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

Unified Diff: third_party/WebKit/Source/devtools/front_end/perf_ui/LineLevelProfile.js

Issue 2752403002: [DevTools] Migrate usages of Target to RuntimeModel where makes sense (Closed)
Patch Set: review comments addressed Created 3 years, 9 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/perf_ui/LineLevelProfile.js
diff --git a/third_party/WebKit/Source/devtools/front_end/perf_ui/LineLevelProfile.js b/third_party/WebKit/Source/devtools/front_end/perf_ui/LineLevelProfile.js
index 0f1ed19d114812b75a8c0324747d838f16b51300..1d4b8ab04d8cc6dd4c3fec058e6b1c8aeccf2db5 100644
--- a/third_party/WebKit/Source/devtools/front_end/perf_ui/LineLevelProfile.js
+++ b/third_party/WebKit/Source/devtools/front_end/perf_ui/LineLevelProfile.js
@@ -74,7 +74,7 @@ PerfUI.LineLevelProfile = class {
if (!uiSourceCode)
continue;
var target = Bindings.NetworkProject.targetForUISourceCode(uiSourceCode) || SDK.targetManager.mainTarget();
- var debuggerModel = target ? SDK.DebuggerModel.fromTarget(target) : null;
+ var debuggerModel = target ? target.model(SDK.DebuggerModel) : null;
if (!debuggerModel)
continue;
for (var lineInfo of fileInfo[1]) {

Powered by Google App Engine
This is Rietveld 408576698