| Index: Source/modules/websockets/WebSocket.h
|
| diff --git a/Source/modules/websockets/WebSocket.h b/Source/modules/websockets/WebSocket.h
|
| index f48c0b52c105b1372df80e3e0d47200ecb617a9b..a4277eab9537f407618608038261e43e38a95f6f 100644
|
| --- a/Source/modules/websockets/WebSocket.h
|
| +++ b/Source/modules/websockets/WebSocket.h
|
| @@ -52,7 +52,8 @@ class Blob;
|
| class ExceptionState;
|
|
|
| class WebSocket FINAL : public RefCountedWillBeRefCountedGarbageCollected<WebSocket>, public ScriptWrappable, public EventTargetWithInlineData, public ActiveDOMObject, public WebSocketChannelClient {
|
| - DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<WebSocket>);
|
| + REFCOUNTED_EVENT_TARGET(WebSocket);
|
| + WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WebSocket);
|
| public:
|
| static const char* subProtocolSeperator();
|
| // WebSocket instances must be used with a wrapper since this class's
|
| @@ -123,7 +124,7 @@ public:
|
| virtual void didStartClosingHandshake() OVERRIDE;
|
| virtual void didClose(unsigned long unhandledBufferedAmount, ClosingHandshakeCompletionStatus, unsigned short code, const String& reason) OVERRIDE;
|
|
|
| - void trace(Visitor*);
|
| + virtual void trace(Visitor*) OVERRIDE;
|
|
|
| private:
|
| // FIXME: This should inherit WebCore::EventQueue.
|
|
|