Index: net/base/elements_upload_data_stream.h |
diff --git a/net/base/elements_upload_data_stream.h b/net/base/elements_upload_data_stream.h |
index 1d4934e14d12eb28baea5cd8a65c1fe6e00b0a69..296cfbb80520e90aa5d8da71e32a2ebfabe954d1 100644 |
--- a/net/base/elements_upload_data_stream.h |
+++ b/net/base/elements_upload_data_stream.h |
@@ -77,8 +77,8 @@ class NET_EXPORT ElementsUploadDataStream : public UploadDataStream { |
// |upload_data_|. |
size_t element_index_; |
- // True if an error occcured during read operation. |
- bool read_failed_; |
+ // Set to actual error if read fails, otherwise set to net::OK. |
+ int read_error_; |
base::WeakPtrFactory<ElementsUploadDataStream> weak_ptr_factory_; |