Index: WebCore/dom/EventTarget.h |
diff --git a/WebCore/dom/EventTarget.h b/WebCore/dom/EventTarget.h |
index f0c794fb346bfb0688d95b31e3eedaa5df7dd72e..0c6c20e94bfc2b2752dc261ba39639cf8924088f 100644 |
--- a/WebCore/dom/EventTarget.h |
+++ b/WebCore/dom/EventTarget.h |
@@ -48,6 +48,7 @@ namespace WebCore { |
class SVGElementInstance; |
class ScriptExecutionContext; |
class SharedWorker; |
+ class WebSocket; |
class Worker; |
class XMLHttpRequest; |
class XMLHttpRequestUpload; |
@@ -71,10 +72,12 @@ namespace WebCore { |
virtual Worker* toWorker(); |
virtual DedicatedWorkerContext* toDedicatedWorkerContext(); |
#endif |
- |
#if ENABLE(SHARED_WORKERS) |
virtual SharedWorker* toSharedWorker(); |
#endif |
+#if ENABLE(WEB_SOCKETS) |
+ virtual WebSocket* toWebSocket(); |
+#endif |
virtual ScriptExecutionContext* scriptExecutionContext() const = 0; |