-
yutak@chromium.org authored
Reviewed by Kent Tamura. WebSocket: Add fail() to WebSocketChannel and its family https://bugs.webkit.org/show_bug.cgi?id=61277 This is the first part of refactoring effort described in bug 61115. Existing error reports will be modified to use fail() in a later patch. No change in behavior, thus no new tests. * websockets/ThreadableWebSocketChannel.h: * websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::fail): * websockets/WebSocketChannel.h: * websockets/WorkerThreadableWebSocketChannel.cpp: (WebCore::WorkerThreadableWebSocketChannel::fail): (WebCore::WorkerThreadableWebSocketChannel::Peer::fail): (WebCore::WorkerThreadableWebSocketChannel::mainThreadFail): (WebCore::WorkerThreadableWebSocketChannel::Bridge::fail): * websockets/WorkerThreadableWebSocketChannel.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
25f6e077