Index: third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp |
diff --git a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp |
index 5a23b1dea2c5ef1874f58f4f90a6827104a4bd28..48a9ab453c2273411da6ae9fd7cc31667c208b8e 100644 |
--- a/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp |
+++ b/third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp |
@@ -510,7 +510,7 @@ void DOMWebSocket::closeInternal(int code, const String& reason, ExceptionState& |
return; |
if (m_state == CONNECTING) { |
m_state = CLOSING; |
- m_channel->fail("WebSocket is closed before the connection is established.", WarningMessageLevel, String(), 0); |
+ m_channel->fail("WebSocket is closed before the connection is established.", WarningMessageLevel, nullptr); |
return; |
} |
m_state = CLOSING; |