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

Unified Diff: Source/platform/network/SocketStreamHandleClient.h

Issue 311993006: [WebSocket] bufferedAmount should not decrease inside a task. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months 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/platform/network/SocketStreamHandleClient.h
diff --git a/Source/platform/network/SocketStreamHandleClient.h b/Source/platform/network/SocketStreamHandleClient.h
index c3dd1f10b7f04ca46533263a48dbff94780288d9..3d8cf7a7bf74f4abf1033e931c356a264a0c6f62 100644
--- a/Source/platform/network/SocketStreamHandleClient.h
+++ b/Source/platform/network/SocketStreamHandleClient.h
@@ -45,7 +45,7 @@ public:
virtual void didOpenSocketStream(SocketStreamHandle*) { }
virtual void didCloseSocketStream(SocketStreamHandle*) { }
virtual void didReceiveSocketStreamData(SocketStreamHandle*, const char* /*data*/, int /*length*/) { }
- virtual void didUpdateBufferedAmount(SocketStreamHandle*, size_t /*bufferedAmount*/) { }
+ virtual void didConsumeBufferedAmount(SocketStreamHandle*, size_t consumed) { }
virtual void didFailSocketStream(SocketStreamHandle*, const SocketStreamError&) { }
};

Powered by Google App Engine
This is Rietveld 408576698