Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Followup to 270854@main: remove some hard-coded default colors in `WK…
…ExtendedTextInputTraits` https://bugs.webkit.org/show_bug.cgi?id=264977 rdar://118526529 Reviewed by Richard Robinson. The following three properties: ``` -insertionPointColor -selectionBarColor -selectionHighlightColor ``` ...are actually nullable on `UIExtendedTextInputTraits`, and setting them to `nil` allows UIKit to fall back to default colors. As such, we can avoid hard-coding default values here and just set these properties to `nil`. * Source/WebKit/UIProcess/ios/WKExtendedTextInputTraits.mm: (-[WKExtendedTextInputTraits setSelectionColorsToMatchTintColor:]): (WebKit::defaultInsertionPointColor): Deleted. (WebKit::defaultSelectionGrabberColor): Deleted. (WebKit::defaultSelectionHighlightColor): Deleted. Canonical link: https://commits.webkit.org/271257@main
- Loading branch information