Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4a1d2ee291523f25e147364ace4947d62d13b0dd
      
https://github.com/WebKit/WebKit/commit/4a1d2ee291523f25e147364ace4947d62d13b0dd
  Author: Ryosuke Niwa <[email protected]>
  Date:   2026-02-16 (Mon, 16 Feb 2026)

  Changed paths:
    A Source/WebKit/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations
    M Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm

  Log Message:
  -----------
  iOS: Fix more safer C++ warnings in Source/WebKit
https://bugs.webkit.org/show_bug.cgi?id=308020

Reviewed by David Kilzer.

Deployed more smart pointers in WebPageCocoa.mm.

Also suppress the warnings on "copy" selectors in WKWebViewIOS.mm and 
WKContentViewInteraction.mm.
These warnings are false positives and already addressed in the upstream clang.

No new tests since there should be no behavioral changes.

* Source/WebKit/SaferCPPExpectations/RetainPtrCtorAdoptCheckerExpectations: 
Added.
* Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm:
(WebKit::WebPage::potentialTapAtPosition):
(WebKit::WebPage::sendTapHighlightForNodeIfNecessary):

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



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

Reply via email to