Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4b7f1c8a3116277a541c1bc6234088054a78a539
      
https://github.com/WebKit/WebKit/commit/4b7f1c8a3116277a541c1bc6234088054a78a539
  Author: Ruthvik Konda <[email protected]>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    M Source/WebCore/Modules/applepay/ApplePayRequestBase.cpp
    M Source/WebCore/Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp
    M Source/WebCore/Modules/beacon/NavigatorBeacon.cpp

  Log Message:
  -----------
  Use protect() instead of Ref { } in beacon and applepay code
https://bugs.webkit.org/show_bug.cgi?id=313604
rdar://175806396

Reviewed by Abrar Rahman Protyasha.

Mechanical migration from Ref { expr } / RefPtr { expr } to protect(expr)
in beacon and applepay code, aligning with the codebase-wide transition away
from brace-initialized smart pointer temporaries.

No new tests needed (no behavioral change, style-only refactor).

* Source/WebCore/Modules/applepay/ApplePayRequestBase.cpp:
(WebCore::convertAndValidate):
* Source/WebCore/Modules/applepay/paymentrequest/ApplePayPaymentHandler.cpp:
(WebCore::ApplePayPaymentHandler::show):
* Source/WebCore/Modules/beacon/NavigatorBeacon.cpp:
(WebCore::NavigatorBeacon::~NavigatorBeacon):

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



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

Reply via email to