Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2519)

Unified Diff: Source/modules/websockets/DOMWebSocket.h

Issue 735433002: DOMWebSocket::bufferedAmount() should not return an "unsigned long" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/modules/websockets/DOMWebSocket.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/DOMWebSocket.h
diff --git a/Source/modules/websockets/DOMWebSocket.h b/Source/modules/websockets/DOMWebSocket.h
index 48ab9660d0994b1606448c24f46c026832f6429f..b9779d34b8b9614960cc6a30be3aa5a07f297676 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;
@@ -120,7 +120,7 @@ public:
virtual void didReceiveTextMessage(const String& message) override;
virtual void didReceiveBinaryMessage(PassOwnPtr<Vector<char> >) override;
virtual void didError() override;
- virtual void didConsumeBufferedAmount(unsigned long) override;
+ virtual void didConsumeBufferedAmount(unsigned) override;
virtual void didStartClosingHandshake() override;
virtual void didClose(ClosingHandshakeCompletionStatus, unsigned short code, const String& reason) override;
@@ -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;
« no previous file with comments | « no previous file | Source/modules/websockets/DOMWebSocket.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698