Title: [276518] branches/safari-611-branch/Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp
- Revision
- 276518
- Author
- [email protected]
- Date
- 2021-04-23 14:32:46 -0700 (Fri, 23 Apr 2021)
Log Message
Unreviewed build fix. rdar://problem/76963040
WebKit2/UIProcess/AuxiliaryProcessProxy.cpp:163:10: error: use of undeclared identifier 'isMainRunLoop'
Modified Paths
Diff
Modified: branches/safari-611-branch/Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp (276517 => 276518)
--- branches/safari-611-branch/Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp 2021-04-23 21:29:59 UTC (rev 276517)
+++ branches/safari-611-branch/Source/WebKit/UIProcess/AuxiliaryProcessProxy.cpp 2021-04-23 21:32:46 UTC (rev 276518)
@@ -159,8 +159,8 @@
bool AuxiliaryProcessProxy::sendMessage(std::unique_ptr<IPC::Encoder> encoder, OptionSet<IPC::SendOption> sendOptions, Optional<std::pair<CompletionHandler<void(IPC::Decoder*)>, uint64_t>>&& asyncReplyInfo, ShouldStartProcessThrottlerActivity shouldStartProcessThrottlerActivity)
{
// FIXME: We should turn this into a RELEASE_ASSERT().
- ASSERT(isMainRunLoop());
- if (!isMainRunLoop()) {
+ ASSERT(WTF::isMainRunLoop());
+ if (!WTF::isMainRunLoop()) {
callOnMainRunLoop([protectedThis = makeRef(*this), encoder = WTFMove(encoder), sendOptions, asyncReplyInfo = WTFMove(asyncReplyInfo), shouldStartProcessThrottlerActivity]() mutable {
protectedThis->sendMessage(WTFMove(encoder), sendOptions, WTFMove(asyncReplyInfo), shouldStartProcessThrottlerActivity);
});
@@ -233,7 +233,7 @@
void AuxiliaryProcessProxy::didFinishLaunching(ProcessLauncher*, IPC::Connection::Identifier connectionIdentifier)
{
ASSERT(!m_connection);
- ASSERT(isMainRunLoop());
+ ASSERT(WTF::isMainRunLoop());
if (!IPC::Connection::identifierIsValid(connectionIdentifier))
return;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes