Index: Source/modules/websockets/MainThreadWebSocketChannel.cpp |
diff --git a/Source/modules/websockets/MainThreadWebSocketChannel.cpp b/Source/modules/websockets/MainThreadWebSocketChannel.cpp |
index 96e20c227ea0586b75d860927feb50e4128ba6bc..ec24aa2180e0fc5d60f0d40dface6418ba699c24 100644 |
--- a/Source/modules/websockets/MainThreadWebSocketChannel.cpp |
+++ b/Source/modules/websockets/MainThreadWebSocketChannel.cpp |
@@ -128,7 +128,7 @@ String MainThreadWebSocketChannel::extensions() |
WebSocketChannel::SendResult MainThreadWebSocketChannel::send(const String& message) |
{ |
WTF_LOG(Network, "MainThreadWebSocketChannel %p send() Sending String '%s'", this, message.utf8().data()); |
- CString utf8 = message.utf8(String::StrictConversionReplacingUnpairedSurrogatesWithFFFD); |
+ CString utf8 = message.utf8(StrictUTF8ConversionReplacingUnpairedSurrogatesWithFFFD); |
enqueueTextFrame(utf8); |
processOutgoingFrameQueue(); |
// m_channel->send() may happen later, thus it's not always possible to know whether |