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; |
} |
} |