[webkit-changes] [WebKit/WebKit] 7f01e6: SessionWrapper should support CheckedPtr

Ryosuke Niwa noreply at github.com
Fri Oct 11 08:47:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7f01e69c3f2af4614bcea90b945d8804d5d7a53a
      https://github.com/WebKit/WebKit/commit/7f01e69c3f2af4614bcea90b945d8804d5d7a53a
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-10-11 (Fri, 11 Oct 2024)

  Changed paths:
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.h
    M Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm

  Log Message:
  -----------
  SessionWrapper should support CheckedPtr
https://bugs.webkit.org/show_bug.cgi?id=281202

Reviewed by Chris Dumez.

Made SessionWrapper support CheckedPtr. The deployment of CheckedPtr will happen in
a follow up when CheckedPtr static analyzers will be brought up.

* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.h:
(WebKit::IsolatedSession::checkedSessionWithCredentialStorage):
(WebKit::SessionSet::checkedSessionWithCredentialStorage):
(WebKit::SessionSet::checkedEphemeralStatelessSession):
* Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(WebKit::NetworkSessionCocoa::initializeNSURLSessionsInSet):
(WebKit::SessionSet::initializeEphemeralStatelessSessionIfNeeded):
(WebKit::NetworkSessionCocoa::appBoundSession):
(WebKit::SessionSet::isolatedSession):
(WebKit::NetworkSessionCocoa::forEachSessionWrapper):

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