Index: webkit/fileapi/local_file_stream_writer.cc |
diff --git a/webkit/fileapi/local_file_stream_writer.cc b/webkit/fileapi/local_file_stream_writer.cc |
index e17784e0e7e49679b052253615a60490e0a5dee4..40e3725c73143c41361a62d6d489af3cce5b098c 100644 |
--- a/webkit/fileapi/local_file_stream_writer.cc |
+++ b/webkit/fileapi/local_file_stream_writer.cc |
@@ -25,7 +25,7 @@ LocalFileStreamWriter::LocalFileStreamWriter(const base::FilePath& file_path, |
: file_path_(file_path), |
initial_offset_(initial_offset), |
has_pending_operation_(false), |
- weak_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {} |
+ weak_factory_(this) {} |
LocalFileStreamWriter::~LocalFileStreamWriter() { |
// Invalidate weak pointers so that we won't receive any callbacks from |