Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 49274a6aa8fcbc351b9d867a5f6573f8fb0b427a
https://github.com/WebKit/WebKit/commit/49274a6aa8fcbc351b9d867a5f6573f8fb0b427a
Author: Cole Carley <[email protected]>
Date: 2026-04-23 (Thu, 23 Apr 2026)
Changed paths:
M Source/WebCore/editing/CachedMatchFinder.cpp
M Source/WebCore/editing/CachedMatchFinder.h
Log Message:
-----------
Remove unused CheckedPtr scopeRoot in CachedMatchFinder TextRun
https://bugs.webkit.org/show_bug.cgi?id=313149
rdar://175162582
Reviewed by Darin Adler and Ryosuke Niwa.
There is an unused field named scopeRoot in CachedMatchFinder::TextRun.
It is a CheckedPtr that can cause a crash in its destructor.
This field is unused, so I removed it.
* Source/WebCore/editing/CachedMatchFinder.cpp:
(WebCore::CachedMatchFinder::textForScope):
* Source/WebCore/editing/CachedMatchFinder.h:
Canonical link: https://commits.webkit.org/311921@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications