Title: [293612] trunk/Source/WebKit
Revision
293612
Author
[email protected]
Date
2022-04-29 07:31:25 -0700 (Fri, 29 Apr 2022)

Log Message

Fix ASAN build after "IPC testing API should have the ability to test IPC::Connection send and receive through IPC::Connection"
https://bugs.webkit.org/show_bug.cgi?id=239894

Unreviewed build fix.
Add a return for function which does ASSERT_NOT_REACHED().

Patch by Kimmo Kinnunen <[email protected]> on 2022-04-29

* WebProcess/WebPage/IPCTestingAPI.cpp:
(WebKit::IPCTestingAPI::JSIPCConnection::didReceiveSyncMessage):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (293611 => 293612)


--- trunk/Source/WebKit/ChangeLog	2022-04-29 10:42:38 UTC (rev 293611)
+++ trunk/Source/WebKit/ChangeLog	2022-04-29 14:31:25 UTC (rev 293612)
@@ -1,3 +1,14 @@
+2022-04-29  Kimmo Kinnunen  <[email protected]>
+
+        Fix ASAN build after "IPC testing API should have the ability to test IPC::Connection send and receive through IPC::Connection"
+        https://bugs.webkit.org/show_bug.cgi?id=239894
+
+        Unreviewed build fix.
+        Add a return for function which does ASSERT_NOT_REACHED().
+
+        * WebProcess/WebPage/IPCTestingAPI.cpp:
+        (WebKit::IPCTestingAPI::JSIPCConnection::didReceiveSyncMessage):
+
 2022-04-29  Diego Pino Garcia  <[email protected]>
 
         [macOS] Unreviewed, non-unified build fixes

Modified: trunk/Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp (293611 => 293612)


--- trunk/Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp	2022-04-29 10:42:38 UTC (rev 293611)
+++ trunk/Source/WebKit/WebProcess/WebPage/IPCTestingAPI.cpp	2022-04-29 14:31:25 UTC (rev 293612)
@@ -711,6 +711,7 @@
 bool JSIPCConnection::didReceiveSyncMessage(IPC::Connection&, IPC::Decoder&, UniqueRef<IPC::Encoder>&)
 {
     ASSERT_NOT_REACHED();
+    return false;
 }
 
 void JSIPCConnection::didClose(IPC::Connection&)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to