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

Unified Diff: Source/web/WebSocketImpl.cpp

Issue 309533008: Remove fail() method without sourceURL and lineNumber parameter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « Source/modules/websockets/WebSocketChannel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSocketImpl.cpp
diff --git a/Source/web/WebSocketImpl.cpp b/Source/web/WebSocketImpl.cpp
index 61e2464470e3262342eb1bdabb92fc9a0cb82147..a83ba25326394e7a51e9478dbee80c0b17c33252 100644
--- a/Source/web/WebSocketImpl.cpp
+++ b/Source/web/WebSocketImpl.cpp
@@ -42,6 +42,7 @@
#include "public/platform/WebURL.h"
#include "public/web/WebDocument.h"
#include "wtf/ArrayBuffer.h"
+#include "wtf/text/WTFString.h"
using namespace WebCore;
@@ -114,7 +115,7 @@ void WebSocketImpl::close(int code, const WebString& reason)
void WebSocketImpl::fail(const WebString& reason)
{
- m_private->fail(reason, ErrorMessageLevel);
+ m_private->fail(reason, ErrorMessageLevel, String(), 0);
}
void WebSocketImpl::disconnect()
« no previous file with comments | « Source/modules/websockets/WebSocketChannel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698