[webkit-changes] [WebKit/WebKit] 77a2ca: Add early return in 'prepareWhitespaceAtPositionFo...
Ahmad Saleem
noreply at github.com
Tue Jan 2 10:22:21 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 77a2ca7c64f95562693a8be9854b1d1b8f60fe2f
https://github.com/WebKit/WebKit/commit/77a2ca7c64f95562693a8be9854b1d1b8f60fe2f
Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
Date: 2024-01-02 (Tue, 02 Jan 2024)
Changed paths:
M Source/WebCore/editing/CompositeEditCommand.cpp
Log Message:
-----------
Add early return in 'prepareWhitespaceAtPositionForSplit' if there is no richly editable position
https://bugs.webkit.org/show_bug.cgi?id=266919
Reviewed by Ryosuke Niwa.
This patch is to add early return inspired by Blink / Chromium to early return, if there is
no richly editable position to potentially improve performance.
* Source/WebCore/editing/CompositeEditCommand.cpp:
(CompositeEditCommand::prepareWhitespaceAtPositionForSplit):
Canonical link: https://commits.webkit.org/272570@main
More information about the webkit-changes
mailing list