| Index: net/base/upload_data.cc
|
| diff --git a/net/base/upload_data.cc b/net/base/upload_data.cc
|
| index 01eaacacc4eee4248e67900f4e6a9793149c96ed..424939e4238a20e10ccb4382579c26242ecfe5af 100644
|
| --- a/net/base/upload_data.cc
|
| +++ b/net/base/upload_data.cc
|
| @@ -101,7 +101,7 @@ FileStream* UploadData::Element::NewFileStreamForReading() {
|
| // Temporary allow until fix: http://crbug.com/72001.
|
| base::ThreadRestrictions::ScopedAllowIO allow_io;
|
|
|
| - scoped_ptr<FileStream> file(new FileStream());
|
| + scoped_ptr<FileStream> file(new FileStream(NULL));
|
| int64 rv = file->Open(file_path_,
|
| base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ);
|
| if (rv != OK) {
|
|
|