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

Unified Diff: Source/modules/websockets/WorkerWebSocketChannel.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
« no previous file with comments | « Source/modules/websockets/WorkerWebSocketChannel.h ('k') | Source/web/WebSocketChannelClientProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/WorkerWebSocketChannel.cpp
diff --git a/Source/modules/websockets/WorkerWebSocketChannel.cpp b/Source/modules/websockets/WorkerWebSocketChannel.cpp
index 814393646fc1035a158de6dd66541bca271658cb..3c9030986e1a1c77910aca5e8fdfab966a3706d7 100644
--- a/Source/modules/websockets/WorkerWebSocketChannel.cpp
+++ b/Source/modules/websockets/WorkerWebSocketChannel.cpp
@@ -307,14 +307,14 @@ void Peer::didReceiveBinaryMessage(PassOwnPtr<Vector<char> > payload)
m_loaderProxy.postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGlobalScopeDidReceiveBinaryMessage, m_bridge, payload));
}
-static void workerGlobalScopeDidConsumeBufferedAmount(ExecutionContext* context, Bridge* bridge, unsigned long consumed)
+static void workerGlobalScopeDidConsumeBufferedAmount(ExecutionContext* context, Bridge* bridge, unsigned consumed)
{
ASSERT_UNUSED(context, context->isWorkerGlobalScope());
if (bridge->client())
bridge->client()->didConsumeBufferedAmount(consumed);
}
-void Peer::didConsumeBufferedAmount(unsigned long consumed)
+void Peer::didConsumeBufferedAmount(unsigned consumed)
{
ASSERT(isMainThread());
m_loaderProxy.postTaskToWorkerGlobalScope(createCrossThreadTask(&workerGlobalScopeDidConsumeBufferedAmount, m_bridge, consumed));
« no previous file with comments | « Source/modules/websockets/WorkerWebSocketChannel.h ('k') | Source/web/WebSocketChannelClientProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698