Index: net/disk_cache/simple/simple_backend_impl.cc |
diff --git a/net/disk_cache/simple/simple_backend_impl.cc b/net/disk_cache/simple/simple_backend_impl.cc |
index cb907b677258f56d05b81d8b13fdb39e562cbe94..9f410ed46772c16c601af3314f5af3c37d725490 100644 |
--- a/net/disk_cache/simple/simple_backend_impl.cc |
+++ b/net/disk_cache/simple/simple_backend_impl.cc |
@@ -214,7 +214,7 @@ class SimpleBackendImpl::ActiveEntryProxy |
SimpleBackendImpl* backend) { |
scoped_ptr<SimpleEntryImpl::ActiveEntryProxy> |
proxy(new ActiveEntryProxy(entry_hash, backend)); |
- return proxy.Pass(); |
+ return proxy; |
} |
private: |
@@ -492,7 +492,7 @@ class SimpleBackendImpl::SimpleIterator final : public Iterator { |
return; |
} |
if (!hashes_to_enumerate_) |
- hashes_to_enumerate_ = backend_->index()->GetAllHashes().Pass(); |
+ hashes_to_enumerate_ = backend_->index()->GetAllHashes(); |
while (!hashes_to_enumerate_->empty()) { |
uint64_t entry_hash = hashes_to_enumerate_->back(); |