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 8bc20fcbbde95e5d1f7611e90370fd4b64712d71..23136ba60e541c91b9d5cfccfe0bffb1651df214 100644 |
--- a/net/disk_cache/simple/simple_entry_impl.cc |
+++ b/net/disk_cache/simple/simple_entry_impl.cc |
@@ -205,7 +205,7 @@ SimpleEntryImpl::SimpleEntryImpl(net::CacheType cache_type, |
void SimpleEntryImpl::SetActiveEntryProxy( |
std::unique_ptr<ActiveEntryProxy> active_entry_proxy) { |
DCHECK(!active_entry_proxy_); |
- active_entry_proxy_.reset(active_entry_proxy.release()); |
+ active_entry_proxy_ = std::move(active_entry_proxy); |
} |
int SimpleEntryImpl::OpenEntry(Entry** out_entry, |