| 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 c380c7916aba33ea7a9f736f02a34bfc75eea808..936bb96e357cd465879ec17fd7b8577b539acb3f 100644
|
| --- a/net/disk_cache/simple/simple_synchronous_entry.cc
|
| +++ b/net/disk_cache/simple/simple_synchronous_entry.cc
|
| @@ -111,17 +111,6 @@ void SimpleSynchronousEntry::DoomEntry(
|
| callback_runner->PostTask(FROM_HERE, base::Bind(callback, net::OK));
|
| }
|
|
|
| -void SimpleSynchronousEntry::DoomAndClose() {
|
| - scoped_refptr<TaskRunner> callback_runner = callback_runner_;
|
| - FilePath path = path_;
|
| - std::string key = key_;
|
| -
|
| - Close();
|
| - // |this| is now deleted.
|
| -
|
| - DoomEntry(path, key, callback_runner, net::CompletionCallback());
|
| -}
|
| -
|
| void SimpleSynchronousEntry::Close() {
|
| for (int i = 0; i < kSimpleEntryFileCount; ++i) {
|
| bool result = ClosePlatformFile(files_[i]);
|
|
|