Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(917)

Unified Diff: third_party/WebKit/Source/modules/websockets/DOMWebSocket.cpp

Issue 2004243002: Migrate websockets from url+lineNumber to SourceLocation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@more-source-location-1
Patch Set: rebased Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698