Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: net/disk_cache/file_posix.cc

Issue 15829004: Update net/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: license twerk Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/entry_unittest.cc ('k') | net/disk_cache/flash/flash_entry_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « net/disk_cache/entry_unittest.cc ('k') | net/disk_cache/flash/flash_entry_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698