Index: net/disk_cache/file_posix.cc |
diff --git a/net/disk_cache/file_posix.cc b/net/disk_cache/file_posix.cc |
index 0295c0d949a20e8256ebbcd7d1f27f4cc1f06492..2ad3db916e329b3f968b2ca4be59111ad41521d5 100644 |
--- a/net/disk_cache/file_posix.cc |
+++ b/net/disk_cache/file_posix.cc |
@@ -118,7 +118,7 @@ void FileInFlightIO::PostRead(disk_cache::File *file, void* buf, size_t buf_len, |
base::WorkerPool::PostTask(FROM_HERE, |
base::Bind(&FileBackgroundIO::Read, operation.get()), true); |
- OnOperationPosted(operation); |
+ OnOperationPosted(operation.get()); |
} |
void FileInFlightIO::PostWrite(disk_cache::File* file, const void* buf, |
@@ -130,7 +130,7 @@ void FileInFlightIO::PostWrite(disk_cache::File* file, const void* buf, |
base::WorkerPool::PostTask(FROM_HERE, |
base::Bind(&FileBackgroundIO::Write, operation.get()), true); |
- OnOperationPosted(operation); |
+ OnOperationPosted(operation.get()); |
} |
// Runs on the IO thread. |