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)); |