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

Unified Diff: services/files/files_impl.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
« no previous file with comments | « services/clipboard/clipboard_standalone_impl.cc ('k') | services/gles2/command_buffer_type_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/files/files_impl.cc
diff --git a/services/files/files_impl.cc b/services/files/files_impl.cc
index bfe151b0cba791e315e3c92a4bc7271fe7d0da59..68264274f8361b4953243551ac4cee6447ac2997 100644
--- a/services/files/files_impl.cc
+++ b/services/files/files_impl.cc
@@ -32,7 +32,7 @@ base::ScopedFD CreateAndOpenTemporaryDirectory(
open((*temp_dir)->path().value().c_str(), O_RDONLY | O_DIRECTORY, 0)));
PCHECK(temp_dir_fd.is_valid());
DVLOG(1) << "Made a temporary directory: " << (*temp_dir)->path().value();
- return temp_dir_fd.Pass();
+ return temp_dir_fd;
}
#ifndef NDEBUG
« no previous file with comments | « services/clipboard/clipboard_standalone_impl.cc ('k') | services/gles2/command_buffer_type_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698