Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ec0648d3c9e9641e57438d2bbe36eb5c4ac4020
      
https://github.com/WebKit/WebKit/commit/4ec0648d3c9e9641e57438d2bbe36eb5c4ac4020
  Author: Frédéric Wang <[email protected]>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M Source/WebKit/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
    M Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebKit/UIProcess/API/APIDataTask.cpp
    M Source/WebKit/UIProcess/API/APIDataTask.h

  Log Message:
  -----------
  Adopt smart pointer in Source/WebKit/UIProcess/API/APIDataTask.cpp
https://bugs.webkit.org/show_bug.cgi?id=286808

Reviewed by Chris Dumez.

* Source/WebKit/UIProcess/API/APIDataTask.cpp:
(API::DataTask::cancel): NetworkProcessProxy::cancelDataTask is non-trivial so 
hold a smart pointer to NetworkProcessProxy.
WebsiteDataStore::networkProcess()
(API::DataTask::DataTask): WebsiteDataStore::networkProcess() is not trivial, 
so use protected version of WebPageProxy::websiteDataStore().
sessionID() is not trivial, so use protectedPage().
ProcessThrottler::foregroundActivity()/backgroundActivity() are non trivial, so 
use protected version of AuxiliaryProcessProxy::throttler().
* Source/WebKit/UIProcess/API/APIDataTask.h:
(API::DataTask::protectedPage const): Introduce protectedPage() method.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to