| Index: Source/modules/websockets/DOMWebSocket.h
|
| diff --git a/Source/modules/websockets/DOMWebSocket.h b/Source/modules/websockets/DOMWebSocket.h
|
| index 48ab9660d0994b1606448c24f46c026832f6429f..7327ab18892a2b958d4486f028ab064c3d429c8c 100644
|
| --- a/Source/modules/websockets/DOMWebSocket.h
|
| +++ b/Source/modules/websockets/DOMWebSocket.h
|
| @@ -89,7 +89,7 @@ public:
|
|
|
| const KURL& url() const;
|
| State readyState() const;
|
| - unsigned long bufferedAmount() const;
|
| + unsigned bufferedAmount() const;
|
|
|
| String protocol() const;
|
| String extensions() const;
|
| @@ -201,7 +201,7 @@ private:
|
|
|
| // Updates m_bufferedAmountAfterClose given the amount of data passed to
|
| // send() method after the state changed to CLOSING or CLOSED.
|
| - void updateBufferedAmountAfterClose(unsigned long);
|
| + void updateBufferedAmountAfterClose(unsigned);
|
| void reflectBufferedAmountConsumption(Timer<DOMWebSocket>*);
|
|
|
| void releaseChannel();
|
| @@ -215,11 +215,11 @@ private:
|
|
|
| State m_state;
|
| KURL m_url;
|
| - unsigned long m_bufferedAmount;
|
| + unsigned m_bufferedAmount;
|
| // The consumed buffered amount that will be reflected to m_bufferedAmount
|
| // later. It will be cleared once reflected.
|
| - unsigned long m_consumedBufferedAmount;
|
| - unsigned long m_bufferedAmountAfterClose;
|
| + unsigned m_consumedBufferedAmount;
|
| + unsigned m_bufferedAmountAfterClose;
|
| BinaryType m_binaryType;
|
| // The subprotocol the server selected.
|
| String m_subprotocol;
|
|
|