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

Unified Diff: LayoutTests/inspector/sources/debugger/callstack-placards-discarded.html

Issue 299443016: DevTools: Decouple debugger model from UI entities (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge DebuggerScriptMapping into DebuggerWorkspaceBinding 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
Index: LayoutTests/inspector/sources/debugger/callstack-placards-discarded.html
diff --git a/LayoutTests/inspector/sources/debugger/callstack-placards-discarded.html b/LayoutTests/inspector/sources/debugger/callstack-placards-discarded.html
index de874091a7c902849b534e1a04c429815f56e119..dba139445c09b11c3792be5b42de858d6891f0f5 100644
--- a/LayoutTests/inspector/sources/debugger/callstack-placards-discarded.html
+++ b/LayoutTests/inspector/sources/debugger/callstack-placards-discarded.html
@@ -55,9 +55,10 @@ var test = function()
function liveLocationsCount()
{
var count = 0;
- var scripts = WebInspector.debuggerModel.scripts;
- for (var id in scripts)
- count += scripts[id]._locations.size();
+ var infos = WebInspector.debuggerWorkspaceBinding._targetToData.get(WebInspector.debuggerModel.target()).scriptDataMap.values();
+ infos.forEach(function(info) {
+ count += info._locations.size();
+ });
return count;
}
}

Powered by Google App Engine
This is Rietveld 408576698