| Index: webkit/fileapi/file_system_operation_write_unittest.cc
|
| diff --git a/webkit/fileapi/file_system_operation_write_unittest.cc b/webkit/fileapi/file_system_operation_write_unittest.cc
|
| index f4340428993ef4d39783e3bd4886b68f825386da..f3419d9eb8a1fdc10f6b9680d02e2eb0dbd0f867 100644
|
| --- a/webkit/fileapi/file_system_operation_write_unittest.cc
|
| +++ b/webkit/fileapi/file_system_operation_write_unittest.cc
|
| @@ -48,10 +48,10 @@ class MockQuotaManager : public QuotaManager {
|
| usage_(0),
|
| quota_(quota) {}
|
|
|
| - virtual void GetUsageAndQuota(const GURL& origin, quota::StorageType type,
|
| - GetUsageAndQuotaCallback* callback) {
|
| - callback->Run(quota::kQuotaStatusOk, usage_, quota_);
|
| - delete callback;
|
| + virtual void GetUsageAndQuota(
|
| + const GURL& origin, quota::StorageType type,
|
| + const GetUsageAndQuotaCallback& callback) OVERRIDE {
|
| + callback.Run(quota::kQuotaStatusOk, usage_, quota_);
|
| }
|
|
|
| void set_usage(int64 usage) { usage_ = usage; }
|
|
|