Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a7c0b0f9062b64c36bba6b192ab725c010990afb
      
https://github.com/WebKit/WebKit/commit/a7c0b0f9062b64c36bba6b192ab725c010990afb
  Author: Fady Farag <[email protected]>
  Date:   2026-08-27 (Thu, 27 Aug 2026)

  Changed paths:
    M Source/WebCore/html/shadow/DateTimeEditElement.h
    M Source/WebCore/html/shadow/DateTimeFieldElement.cpp
    M Source/WebCore/html/shadow/DateTimeFieldElement.h

  Log Message:
  -----------
  Harden `DateTimeFieldElement` by making `DateTimeFieldElementFieldOwner` 
ref-countable
https://bugs.webkit.org/show_bug.cgi?id=322668
rdar://185940168

Reviewed by Chris Dumez.

This makes `DateTimeFieldElementFieldOwner` ref-countable since nothing enforces
that the owner stays alive across its virtual functions.

No new tests since there should be no behavioral changes.

* Source/WebCore/html/shadow/DateTimeEditElement.h:
* Source/WebCore/html/shadow/DateTimeFieldElement.cpp:
(WebCore::DateTimeFieldElement::defaultKeyboardEventHandler):
(WebCore::DateTimeFieldElement::isFieldOwnerDisabled const):
(WebCore::DateTimeFieldElement::isFieldOwnerReadOnly const):
(WebCore::DateTimeFieldElement::isFieldOwnerHorizontal const):
(WebCore::DateTimeFieldElement::handleBlurEvent):
(WebCore::DateTimeFieldElement::localeIdentifier const):
(WebCore::DateTimeFieldElement::updateVisibleValue):
(WebCore::DateTimeFieldElement::transferredFocusToPicker const):
(WebCore::DateTimeFieldElement::didSuppressBlurDueToPickerFocusTransfer):
* Source/WebCore/html/shadow/DateTimeFieldElement.h:

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



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

Reply via email to