Title: [285237] branches/safari-612.3.3.1-branch/Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp
- Revision
- 285237
- Author
- [email protected]
- Date
- 2021-11-03 15:40:59 -0700 (Wed, 03 Nov 2021)
Log Message
Unreviewed build fix. rdar://problem/84987165.
error: no viable constructor or deduction guide for deduction of template arguments of 'WeakPtr'
Modified Paths
Diff
Modified: branches/safari-612.3.3.1-branch/Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp (285236 => 285237)
--- branches/safari-612.3.3.1-branch/Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp 2021-11-03 22:36:44 UTC (rev 285236)
+++ branches/safari-612.3.3.1-branch/Source/WebKit/UIProcess/Network/NetworkProcessProxy.cpp 2021-11-03 22:40:59 UTC (rev 285237)
@@ -154,7 +154,7 @@
// time period to avoid generating too many crash reports with same back trace on user's device.
if (shouldTerminateNetworkProcessBySendingMessage()) {
sendMessage(makeUniqueRef<IPC::Encoder>(IPC::MessageName::Terminate, 0), { });
- RunLoop::main().dispatchAfter(1_s, [weakThis = WeakPtr { *this }] () mutable {
+ RunLoop::main().dispatchAfter(1_s, [weakThis = makeWeakPtr(*this)] () mutable {
if (weakThis)
weakThis->terminate();
});
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes