Skip to content

Commit

Permalink
ASSERT_NOT_REACHED() reached in AXLogger::log()
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=259971

Reviewed by Jonathan Bedard.

`WeakHashMap<Element, String, WeakPtrImplWithEventTargetData>` was added
as a variant type in 266406@main. At the same commit it was handled in
`WTF::switchOn()` but then was (probably accedently) removed in 266706@main

* Source/WebCore/accessibility/AXLogger.cpp:
(WebCore::AXLogger::log):

Canonical link: https://commits.webkit.org/266730@main
  • Loading branch information
obyknovenius committed Aug 9, 2023
1 parent 84d8a68 commit aa54e69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/WebCore/accessibility/AXLogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ void AXLogger::log(const String& collectionName, const AXObjectCache::DeferredCo
[&size] (const WeakHashSet<HTMLTableElement, WeakPtrImplWithEventTargetData>& typedCollection) { size = typedCollection.computeSize(); },
[&size] (const WeakHashSet<AccessibilityTable>& typedCollection) { size = typedCollection.computeSize(); },
[&size] (const WeakListHashSet<Node, WeakPtrImplWithEventTargetData>& typedCollection) { size = typedCollection.computeSize(); },
[&size] (const WeakHashMap<Element, String, WeakPtrImplWithEventTargetData>& typedCollection) { size = typedCollection.computeSize(); },
[] (auto&) {
ASSERT_NOT_REACHED();
return;
Expand Down

0 comments on commit aa54e69

Please sign in to comment.