[webkit-changes] [WebKit/WebKit] 6ece91: WebAutomationSession should use CheckedPtr instead...
Ryosuke Niwa
noreply at github.com
Fri Aug 25 16:29:01 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6ece913af49525a4a3168ee730b5bcb630710165
https://github.com/WebKit/WebKit/commit/6ece913af49525a4a3168ee730b5bcb630710165
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-08-25 (Fri, 25 Aug 2023)
Changed paths:
M Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp
M Source/WebKit/UIProcess/Automation/WebAutomationSession.h
M Source/WebKit/UIProcess/WebProcessPool.h
Log Message:
-----------
WebAutomationSession should use CheckedPtr instead of a raw pointer
https://bugs.webkit.org/show_bug.cgi?id=260704
Reviewed by Patrick Angle and Chris Dumez.
Deployed smart pointers in WebAutomationSession.
* Source/WebKit/UIProcess/Automation/WebAutomationSession.cpp:
(WebKit::WebAutomationSession::setProcessPool):
(WebKit::WebAutomationSession::protectedProcessPool const):
(WebKit::WebAutomationSession::getNextContext):
(WebKit::WebAutomationSession::getBrowsingContexts):
(WebKit::WebAutomationSession::waitForNavigationToComplete):
(WebKit::WebAutomationSession::respondToPendingFrameNavigationCallbacksWithTimeout):
* Source/WebKit/UIProcess/Automation/WebAutomationSession.h:
* Source/WebKit/UIProcess/WebProcessPool.h:
Canonical link: https://commits.webkit.org/267305@main
More information about the webkit-changes
mailing list