Chromium Code Reviews| Index: Source/modules/websockets/DOMWebSocket.h |
| diff --git a/Source/modules/websockets/DOMWebSocket.h b/Source/modules/websockets/DOMWebSocket.h |
| index c8b8f3b09d420abb56b2f7ad1146d645b388ee7a..7b483a0db699c07f3477242e6e07e9c6ad83fc3c 100644 |
| --- a/Source/modules/websockets/DOMWebSocket.h |
| +++ b/Source/modules/websockets/DOMWebSocket.h |
| @@ -40,12 +40,13 @@ |
| #include "platform/heap/Handle.h" |
| #include "platform/weborigin/KURL.h" |
| #include "wtf/Deque.h" |
| -#include "wtf/Forward.h" |
|
tyoshino (SeeGerritForStatus)
2014/10/16 06:39:15
Not only ArrayBuffer and ArrayBufferView but forwa
Yuki
2014/10/16 14:21:51
Done. Reverted this line.
|
| #include "wtf/text/AtomicStringHash.h" |
| namespace blink { |
| class Blob; |
| +class DOMArrayBuffer; |
| +class DOMArrayBufferView; |
| class ExceptionState; |
| class DOMWebSocket : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<DOMWebSocket>, public EventTargetWithInlineData, public ActiveDOMObject, public WebSocketChannelClient { |
| @@ -72,8 +73,8 @@ public: |
| void connect(const String& url, const Vector<String>& protocols, ExceptionState&); |
| void send(const String& message, ExceptionState&); |
| - void send(ArrayBuffer*, ExceptionState&); |
| - void send(ArrayBufferView*, ExceptionState&); |
| + void send(DOMArrayBuffer*, ExceptionState&); |
| + void send(DOMArrayBufferView*, ExceptionState&); |
| void send(Blob*, ExceptionState&); |
| // To distinguish close method call with the code parameter from one |