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

Unified Diff: net/disk_cache/simple/simple_synchronous_entry.cc

Issue 13880016: Make SimpleEntryImpl ref counted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove flaky dchecks Created 7 years, 8 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
Index: net/disk_cache/simple/simple_synchronous_entry.cc
diff --git a/net/disk_cache/simple/simple_synchronous_entry.cc b/net/disk_cache/simple/simple_synchronous_entry.cc
index 11a742199335d65dbd6af118ca01d15467ad2074..509755a0508ad76243c2a29f3e37576c53ac19ef 100644
--- a/net/disk_cache/simple/simple_synchronous_entry.cc
+++ b/net/disk_cache/simple/simple_synchronous_entry.cc
@@ -85,7 +85,7 @@ void SimpleSynchronousEntry::CreateEntry(
void SimpleSynchronousEntry::DoomEntry(
const FilePath& path,
const std::string& key,
- scoped_refptr<TaskRunner> callback_runner,
+ const scoped_refptr<TaskRunner>& callback_runner,
const net::CompletionCallback& callback) {
for (int i = 0; i < kSimpleEntryFileCount; ++i) {
FilePath to_delete = path.AppendASCII(GetFilenameFromKeyAndIndex(key, i));

Powered by Google App Engine
This is Rietveld 408576698