Skip to content

Commit 827c6fb

Browse files
committed
Revert part of commit a22d43a
1 parent 69b0f22 commit 827c6fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/WinWebDiffLib/WebWindow.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,8 @@ class CWebWindow
775775
uint32_t count = 0;
776776
if (frameTree.HasMember(L"childFrames") && frameTree[L"childFrames"].IsArray())
777777
{
778-
count += frameTree[L"childFrames"].GetArray().Size();
778+
for (const auto& frame : frameTree[L"childFrames"].GetArray())
779+
count += GetResourceTreeItemCount(frame);
779780
}
780781
if (frameTree.HasMember(L"frame"))
781782
{

0 commit comments

Comments
 (0)