diff options
Diffstat (limited to 'net/base/upload_data_stream.cc')
-rw-r--r-- | net/base/upload_data_stream.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/upload_data_stream.cc b/net/base/upload_data_stream.cc index 52cf543c..ad59ad3 100644 --- a/net/base/upload_data_stream.cc +++ b/net/base/upload_data_stream.cc @@ -23,7 +23,7 @@ UploadDataStream::UploadDataStream( last_chunk_appended_(false), read_failed_(false), initialized_successfully_(false), - weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { + weak_ptr_factory_(this) { element_readers_.swap(*element_readers); } @@ -36,7 +36,7 @@ UploadDataStream::UploadDataStream(Chunked /*chunked*/, int64 identifier) last_chunk_appended_(false), read_failed_(false), initialized_successfully_(false), - weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) { + weak_ptr_factory_(this) { } UploadDataStream::~UploadDataStream() { |