Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a8ad89393e742e18a6df250b4f3fd579b0ead4e
https://github.com/WebKit/WebKit/commit/2a8ad89393e742e18a6df250b4f3fd579b0ead4e
Author: Chris Dumez <[email protected]>
Date: 2026-06-03 (Wed, 03 Jun 2026)
Changed paths:
M Source/WebCore/platform/cocoa/TextRecognitionResultCocoa.mm
Log Message:
-----------
Fix ignored `isKindOfClass` check in
TextRecognitionResult::extractAttributedString()
https://bugs.webkit.org/show_bug.cgi?id=316169
Reviewed by Abrar Rahman Protyasha.
The result of `isKindOfClass` was not stored and never checked, this was
just dead code. I have opted to actually check it since it seemed to be
the code's intention.
* Source/WebCore/platform/cocoa/TextRecognitionResultCocoa.mm:
(WebCore::TextRecognitionResult::extractAttributedString):
Canonical link: https://commits.webkit.org/314446@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications