summaryrefslogtreecommitdiffstats
path: root/WebCore/websockets/WebSocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/websockets/WebSocket.cpp')
-rw-r--r--WebCore/websockets/WebSocket.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/WebCore/websockets/WebSocket.cpp b/WebCore/websockets/WebSocket.cpp
index 91761fb..38629d7 100644
--- a/WebCore/websockets/WebSocket.cpp
+++ b/WebCore/websockets/WebSocket.cpp
@@ -78,8 +78,6 @@ static String encodeProtocolString(const String& protocol)
return builder.toString();
}
-#if USE(V8)
-
static bool webSocketsAvailable = false;
void WebSocket::setIsAvailable(bool available)
@@ -92,8 +90,6 @@ bool WebSocket::isAvailable()
return webSocketsAvailable;
}
-#endif
-
WebSocket::WebSocket(ScriptExecutionContext* context)
: ActiveDOMObject(context, this)
, m_state(CONNECTING)