| Index: third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-live-locations-leak.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-live-locations-leak.html b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-live-locations-leak.html
|
| index 30ab9f066a1b5d7c9e93b85b533d5b25a3a037fe..fb37fc503496d9a330c308cc0100760ec04fa3bd 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-live-locations-leak.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/elements/styles-4/styles-live-locations-leak.html
|
| @@ -65,11 +65,8 @@ function test()
|
| {
|
| var locationsCount = 0;
|
| var targetInfos = WebInspector.cssWorkspaceBinding._modelToTargetInfo.valuesArray();
|
| - for (var targetInfo of targetInfos) {
|
| - var headerInfos = targetInfo._headerInfoById.valuesArray();
|
| - for (var headerInfo of headerInfos)
|
| - locationsCount += headerInfo._locations.size;
|
| - }
|
| + for (var targetInfo of targetInfos)
|
| + locationsCount += targetInfo._locations.valuesArray().length;
|
| return locationsCount;
|
| }
|
| }
|
|
|