[webkit-changes] [WebKit/WebKit] c4fc0e: Unreviewed, fix the internal watchOS build after r...

Wenson Hsieh noreply at github.com
Tue May 30 15:42:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c4fc0ec9e315e758c452c78cf697d0e329b4f1d2
      https://github.com/WebKit/WebKit/commit/c4fc0ec9e315e758c452c78cf697d0e329b4f1d2
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ios/forms/WKDatePickerViewController.mm
    M Source/WebKit/UIProcess/ios/forms/WKNumberPadViewController.mm
    M Source/WebKit/UIProcess/ios/forms/WKTextInputListViewController.mm
    M Source/WebKit/UIProcess/ios/forms/WKTimePickerViewController.mm

  Log Message:
  -----------
  Unreviewed, fix the internal watchOS build after rdar://109783639
rdar://109993902

Add some deprecation warnings, and also explicitly cast to `id<PUICQuickboardController>` when
invoking several delegate methods. This is because, on some version of the internal watchOS SDK,
`PUICQuickboardViewController` now conforms to a protocol named `PUICQuickboardControllerProtocol`,
rather than `PUICQuickboardController`; instead, `PUICQuickboardController` is now a deprecated
protocol that conforms to `PUICQuickboardControllerProtocol` (and provides no added functionality,
such that it's entirely interchangeable with the new `PUICQuickboardControllerProtocol`).

* Source/WebKit/UIProcess/ios/forms/WKDatePickerViewController.mm:
(-[WKDatePickerViewController _handleStatusBarNavigation]):
(-[WKDatePickerViewController _setButtonPressed]):
* Source/WebKit/UIProcess/ios/forms/WKNumberPadViewController.mm:
(-[WKNumberPadViewController _handleKeyPress:]):
(-[WKNumberPadViewController _cancelInput]):
* Source/WebKit/UIProcess/ios/forms/WKTextInputListViewController.mm:
(-[WKTextInputListViewController enterText:]):
* Source/WebKit/UIProcess/ios/forms/WKTimePickerViewController.mm:
(-[WKTimePickerViewController leftButtonWOTAction]):
(-[WKTimePickerViewController rightButtonWOTAction]):

Canonical link: https://commits.webkit.org/264702@main




More information about the webkit-changes mailing list