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

Unified Diff: chrome_frame/urlmon_upload_data_stream.cc

Issue 6134003: Prototype of chunked transfer encoded POST. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 11 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: chrome_frame/urlmon_upload_data_stream.cc
diff --git a/chrome_frame/urlmon_upload_data_stream.cc b/chrome_frame/urlmon_upload_data_stream.cc
index 2c40ca2d113738cb2ff66977c4a28ce1289ff3af..0703cf4a2ef4d30f2ebf52ded7e6ac5872f2f992 100644
--- a/chrome_frame/urlmon_upload_data_stream.cc
+++ b/chrome_frame/urlmon_upload_data_stream.cc
@@ -51,7 +51,7 @@ STDMETHODIMP UrlmonUploadDataStream::Read(void* pv, ULONG cb, ULONG* read) {
write_pointer += bytes_to_copy_now;
// Advance the UploadDataStream read pointer:
- request_body_stream_->DidConsume(bytes_to_copy_now);
+ request_body_stream_->ConsumeAndFillBuffer(bytes_to_copy_now);
vandebo (ex-Chrome) 2011/01/24 20:16:08 You missed updating one name.
}
DCHECK(bytes_copied == total_bytes_to_copy);

Powered by Google App Engine
This is Rietveld 408576698