| Index: net/base/upload_data_stream_unittest.cc
|
| diff --git a/net/base/upload_data_stream_unittest.cc b/net/base/upload_data_stream_unittest.cc
|
| index 8a21ad69cd74463cd3b840a051462429df80e4cf..e30e270228bc9fbcea076cf6274b57ac208c6073 100644
|
| --- a/net/base/upload_data_stream_unittest.cc
|
| +++ b/net/base/upload_data_stream_unittest.cc
|
| @@ -50,7 +50,7 @@ TEST_F(UploadDataStreamTest, ConsumeAll) {
|
| UploadDataStream::Create(upload_data_, NULL));
|
| ASSERT_TRUE(stream.get());
|
| while (!stream->eof()) {
|
| - stream->DidConsume(stream->buf_len());
|
| + stream->ConsumeAndFillBuffer(stream->buf_len());
|
| }
|
| }
|
|
|
| @@ -76,7 +76,7 @@ TEST_F(UploadDataStreamTest, FileSmallerThanLength) {
|
| uint64 read_counter = 0;
|
| while (!stream->eof()) {
|
| read_counter += stream->buf_len();
|
| - stream->DidConsume(stream->buf_len());
|
| + stream->ConsumeAndFillBuffer(stream->buf_len());
|
| }
|
| // UpdateDataStream will pad out the file with 0 bytes so that the HTTP
|
| // transaction doesn't hang. Therefore we expected the full size.
|
|
|