Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Unified Diff: services/url_response_disk_cache/url_response_disk_cache_db_unittests.cc

Issue 1408793006: Convert "return local_var.Pass();" to "return local_var;". (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: services/url_response_disk_cache/url_response_disk_cache_db_unittests.cc
diff --git a/services/url_response_disk_cache/url_response_disk_cache_db_unittests.cc b/services/url_response_disk_cache/url_response_disk_cache_db_unittests.cc
index 9bd46f748ad37648109aef5bd49cf2fa268c5186..b5d4c555a881885039270fbac153a3a1ab5d0e25 100644
--- a/services/url_response_disk_cache/url_response_disk_cache_db_unittests.cc
+++ b/services/url_response_disk_cache/url_response_disk_cache_db_unittests.cc
@@ -29,7 +29,7 @@ class URLResponseDiskCacheDBTest : public ::testing::Test {
entry->response = URLResponse::New();
entry->entry_directory = "/cache";
entry->response_body_path = "/cache/content";
- return entry.Pass();
+ return entry;
}
base::ScopedTempDir tmp_dir_;

Powered by Google App Engine
This is Rietveld 408576698