[webkit-changes] [WebKit/WebKit] eec25f: Fix the internal tvOS build after 281437 at main

Aditya Keerthi noreply at github.com
Sun Jul 28 19:49:18 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: eec25f445cc155a2ba4521a3fd07705d0e794fb4
      https://github.com/WebKit/WebKit/commit/eec25f445cc155a2ba4521a3fd07705d0e794fb4
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2024-07-28 (Sun, 28 Jul 2024)

  Changed paths:
    M Source/WebCore/platform/text/cocoa/LocalizedDateCache.mm
    M Source/WebKit/UIProcess/ios/forms/WKDatePickerPopoverController.mm
    M Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm

  Log Message:
  -----------
  Fix the internal tvOS build after 281437 at main
https://bugs.webkit.org/show_bug.cgi?id=277242
rdar://132691264

Unreviewed, fix the build.

* Source/WebCore/platform/text/cocoa/LocalizedDateCache.mm:
(WebCore::LocalizedDateCache::createFormatterForType):

Drive-by fix. Uncouple from UI flag.

* Source/WebKit/UIProcess/ios/forms/WKDatePickerPopoverController.mm:
* Source/WebKit/UIProcess/ios/forms/WKDateTimeInputControl.mm:

`UICalendarView` is unavailable on tvOS. Guard the variable behind
`HAVE(UI_CALENDAR_SELECTION_WEEK_OF_YEAR)`, as its allocation already is.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list