Index: net/base/upload_data.h |
=================================================================== |
--- net/base/upload_data.h (revision 138174) |
+++ net/base/upload_data.h (working copy) |
@@ -129,9 +129,8 @@ |
// Returns the number of bytes remaining to read. |
uint64 BytesRemaining(); |
- // Resets the offset to zero and closes the file stream if opened, so |
- // that the element can be reread. |
- void ResetOffset(); |
+ // Resets the offset to zero, so that the element can be reread. |
+ void ResetOffset() { offset_ = 0; } |
private: |
// Returns a FileStream opened for reading for this element, positioned |