| Index: net/disk_cache/simple/simple_entry_impl.cc
|
| diff --git a/net/disk_cache/simple/simple_entry_impl.cc b/net/disk_cache/simple/simple_entry_impl.cc
|
| index 3a54a1fa4c0e79d2dd1f7173b5f4aef272fbc4a5..c4cd1d3ce91f83c0524b2f6eed00df4b891fa8a2 100644
|
| --- a/net/disk_cache/simple/simple_entry_impl.cc
|
| +++ b/net/disk_cache/simple/simple_entry_impl.cc
|
| @@ -268,6 +268,8 @@ int SimpleEntryImpl::DoomEntry(const CompletionCallback& callback) {
|
| net_log_.AddEvent(net::NetLog::TYPE_SIMPLE_CACHE_ENTRY_DOOM_BEGIN);
|
|
|
| MarkAsDoomed();
|
| + if (backend_.get())
|
| + backend_->OnDoomStart(entry_hash_);
|
| pending_operations_.push(SimpleEntryOperation::DoomOperation(this, callback));
|
| RunNextOperationIfNeeded();
|
| return net::ERR_IO_PENDING;
|
| @@ -917,8 +919,6 @@ void SimpleEntryImpl::WriteDataInternal(int stream_index,
|
| }
|
|
|
| void SimpleEntryImpl::DoomEntryInternal(const CompletionCallback& callback) {
|
| - if (backend_)
|
| - backend_->OnDoomStart(entry_hash_);
|
| PostTaskAndReplyWithResult(
|
| worker_pool_, FROM_HERE,
|
| base::Bind(&SimpleSynchronousEntry::DoomEntry, path_, key_, entry_hash_),
|
|
|