[webkit-changes] [WebKit/WebKit] 76bcd3: Remove the indirection in isMouseFocusable() to ca...

NathanSolomon733 noreply at github.com
Fri Aug 9 15:17:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 76bcd3ed6795367e673c5e3cfeb9628aeff8026f
      https://github.com/WebKit/WebKit/commit/76bcd3ed6795367e673c5e3cfeb9628aeff8026f
  Author: Nathan Solomon <nathan_solomon at apple.com>
  Date:   2024-08-09 (Fri, 09 Aug 2024)

  Changed paths:
    M Source/WebCore/html/HTMLFormControlElement.cpp
    M Source/WebCore/html/HTMLFormControlElement.h

  Log Message:
  -----------
  Remove the indirection in isMouseFocusable() to call directly the quirk
https://bugs.webkit.org/show_bug.cgi?id=277657
rdar://133252329

Reviewed by Charlie Wolfe.

Removes the indirection caused by calling needsMouseFocusableQuirk() in isMouseFocusable(). Because isMouseFocusable() is the only function that calls needsMouseFocusableQuirk(), remove needsMouseFocusableQuirk() as well.

* Source/WebCore/html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::isMouseFocusable const):
(WebCore::HTMLFormControlElement::needsMouseFocusableQuirk const): Deleted.
* Source/WebCore/html/HTMLFormControlElement.h:

Canonical link: https://commits.webkit.org/282062@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