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

Unified Diff: Source/modules/websockets/DocumentWebSocketChannel.cpp

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
Index: Source/modules/websockets/DocumentWebSocketChannel.cpp
diff --git a/Source/modules/websockets/DocumentWebSocketChannel.cpp b/Source/modules/websockets/DocumentWebSocketChannel.cpp
index 88ca7ef95dcd33c6c35fd527133e375435c28f92..b17e31163f235f13654988edf9a175444b0ea2dc 100644
--- a/Source/modules/websockets/DocumentWebSocketChannel.cpp
+++ b/Source/modules/websockets/DocumentWebSocketChannel.cpp
@@ -303,7 +303,7 @@ DocumentWebSocketChannel::Message::Message(unsigned short code, const String& re
void DocumentWebSocketChannel::sendInternal()
{
ASSERT(m_handle);
- unsigned long consumedBufferedAmount = 0;
+ unsigned consumedBufferedAmount = 0;
while (!m_messages.isEmpty() && !m_blobLoader) {
bool final = false;
Message* message = m_messages.first().get();
« no previous file with comments | « Source/modules/websockets/DOMWebSocketTest.cpp ('k') | Source/modules/websockets/DocumentWebSocketChannelTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698