Title: [263831] trunk/Source/WebKit
Revision
263831
Author
[email protected]
Date
2020-07-01 21:04:18 -0700 (Wed, 01 Jul 2020)

Log Message

[SOUP] Build fix after r263797 for older soup versions.

Build was failing in LTS distributions due to -fpermissive

Unreviewed build fix.

* NetworkProcess/soup/WebSocketTaskSoup.cpp:
(WebKit::WebSocketTask::sendString):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (263830 => 263831)


--- trunk/Source/WebKit/ChangeLog	2020-07-02 03:08:57 UTC (rev 263830)
+++ trunk/Source/WebKit/ChangeLog	2020-07-02 04:04:18 UTC (rev 263831)
@@ -1,3 +1,14 @@
+2020-07-01  Lauro Moura  <[email protected]>
+
+        [SOUP] Build fix after r263797 for older soup versions.
+
+        Build was failing in LTS distributions due to -fpermissive
+
+        Unreviewed build fix.
+
+        * NetworkProcess/soup/WebSocketTaskSoup.cpp:
+        (WebKit::WebSocketTask::sendString):
+
 2020-07-01  Said Abou-Hallawa  <[email protected]>
 
         Allow the File object to be created with a replacement file

Modified: trunk/Source/WebKit/NetworkProcess/soup/WebSocketTaskSoup.cpp (263830 => 263831)


--- trunk/Source/WebKit/NetworkProcess/soup/WebSocketTaskSoup.cpp	2020-07-02 03:08:57 UTC (rev 263830)
+++ trunk/Source/WebKit/NetworkProcess/soup/WebSocketTaskSoup.cpp	2020-07-02 04:04:18 UTC (rev 263831)
@@ -193,7 +193,7 @@
         GRefPtr<GBytes> bytes = adoptGRef(g_bytes_new_static(utf8.data(), utf8.size()));
         soup_websocket_connection_send_message(m_connection.get(), SOUP_WEBSOCKET_DATA_TEXT, bytes.get());
 #else
-        soup_websocket_connection_send_text(m_connection.get(), utf8.data());
+        soup_websocket_connection_send_text(m_connection.get(), reinterpret_cast<const char*>(utf8.data()));
 #endif
     }
     callback();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to