Index: services/url_response_disk_cache/url_response_disk_cache_db.cc |
diff --git a/services/url_response_disk_cache/url_response_disk_cache_db.cc b/services/url_response_disk_cache/url_response_disk_cache_db.cc |
index f7eb587a0411b890aed49108c34e4a22e01e6557..580f73bb54efa32dcbbb301457e12eeb775542f0 100644 |
--- a/services/url_response_disk_cache/url_response_disk_cache_db.cc |
+++ b/services/url_response_disk_cache/url_response_disk_cache_db.cc |
@@ -190,7 +190,7 @@ CacheEntryPtr URLResponseDiskCacheDB::Get(CacheKeyPtr key) { |
DCHECK(status.ok()); |
CacheEntryPtr result; |
Deserialize(entry_string, &result); |
- return result.Pass(); |
+ return result; |
} |
void URLResponseDiskCacheDB::PutNew(const std::string& request_origin, |
@@ -225,7 +225,7 @@ CacheEntryPtr URLResponseDiskCacheDB::GetNewest( |
} |
} |
} |
- return result.Pass(); |
+ return result; |
} |
void URLResponseDiskCacheDB::Delete(CacheKeyPtr key) { |