[webkit-changes] [WebKit/WebKit] 9af155: [IsDeprecatedWeakRefSmartPointerException] Make Fr...

Basuke Suzuki noreply at github.com
Thu Oct 10 14:10:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9af1550239785975e253bb8fc965060f7f05aa9e
      https://github.com/WebKit/WebKit/commit/9af1550239785975e253bb8fc965060f7f05aa9e
  Author: Basuke Suzuki <basuke at apple.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/SOAuthorization/SubFrameSOAuthorizationSession.h
    M Source/WebKit/UIProcess/FrameLoadState.cpp
    M Source/WebKit/UIProcess/FrameLoadState.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp
    M Source/WebKit/UIProcess/WebPageProxyInternals.h

  Log Message:
  -----------
  [IsDeprecatedWeakRefSmartPointerException] Make FrameLoadState and subclasses RefCounted or equivalent
https://bugs.webkit.org/show_bug.cgi?id=281095
rdar://problem/137548780

Reviewed by Ryosuke Niwa and Chris Dumez.

Removing IsDeprecatedWeakRefSmartPointerException for FrameLoadState and make those classes ref/defef.

* Source/WebKit/UIProcess/Cocoa/SOAuthorization/SubFrameSOAuthorizationSession.h:
* Source/WebKit/UIProcess/FrameLoadState.cpp:
(WebKit::FrameLoadState::didStartProvisionalLoad):
(WebKit::FrameLoadState::didSuspend):
(WebKit::FrameLoadState::didReceiveServerRedirectForProvisionalLoad):
(WebKit::FrameLoadState::didFailProvisionalLoad):
(WebKit::FrameLoadState::didCommitLoad):
(WebKit::FrameLoadState::didFinishLoad):
(WebKit::FrameLoadState::didFailLoad):
(WebKit::FrameLoadState::setURL):
(WebKit::FrameLoadState::forEachObserver):
* Source/WebKit/UIProcess/FrameLoadState.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxyFrameLoadStateObserver::WebPageProxyFrameLoadStateObserver):
(WebKit::WebPageProxyFrameLoadStateObserver::ref const):
(WebKit::WebPageProxyFrameLoadStateObserver::deref const):
(WebKit::PageLoadTimingFrameLoadStateObserver::ref const):
(WebKit::PageLoadTimingFrameLoadStateObserver::deref const):
(WebKit::WebPageProxy::initializeWebPage):
* Source/WebKit/UIProcess/WebPageProxyInternals.h:

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