Index: webkit/plugins/ppapi/quota_file_io.cc |
diff --git a/webkit/plugins/ppapi/quota_file_io.cc b/webkit/plugins/ppapi/quota_file_io.cc |
index 961c79ab4ba3ddfa1b6ac921fe7b48db1e742e4c..df4283b0d18232a04d8a55c15abf313500b44d0f 100644 |
--- a/webkit/plugins/ppapi/quota_file_io.cc |
+++ b/webkit/plugins/ppapi/quota_file_io.cc |
@@ -79,7 +79,7 @@ class QuotaFileIO::WriteOperation : public PendingOperationBase { |
finished_(false), |
status_(base::PLATFORM_FILE_OK), |
bytes_written_(0), |
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) { |
+ weak_factory_(this) { |
if (!is_will_operation) { |
// TODO(kinuko): Check the API convention if we really need to keep a copy |
// of the buffer during the async write operations. |
@@ -173,7 +173,7 @@ class QuotaFileIO::SetLengthOperation : public PendingOperationBase { |
: PendingOperationBase(quota_io, is_will_operation), |
length_(length), |
callback_(callback), |
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) {} |
+ weak_factory_(this) {} |
virtual ~SetLengthOperation() {} |
@@ -238,7 +238,7 @@ QuotaFileIO::QuotaFileIO( |
outstanding_errors_(0), |
max_written_offset_(0), |
inflight_operations_(0), |
- ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)) { |
+ weak_factory_(this) { |
DCHECK_NE(base::kInvalidPlatformFileValue, file_); |
DCHECK_NE(quota::kStorageTypeUnknown, storage_type_); |
} |