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

Unified Diff: content/browser/loader/temporary_file_stream_unittest.cc

Issue 1545243002: Convert Pass()→std::move() in //content/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: content/browser/loader/temporary_file_stream_unittest.cc
diff --git a/content/browser/loader/temporary_file_stream_unittest.cc b/content/browser/loader/temporary_file_stream_unittest.cc
index f3035b78078076a85987fef2e91580dd521f4b56..a5fe14533128d5471d748a857a986258f0777f43 100644
--- a/content/browser/loader/temporary_file_stream_unittest.cc
+++ b/content/browser/loader/temporary_file_stream_unittest.cc
@@ -5,8 +5,8 @@
#include "content/browser/loader/temporary_file_stream.h"
#include <string.h>
-
#include <string>
+#include <utility>
#include "base/bind.h"
#include "base/files/file_path.h"
@@ -42,7 +42,7 @@ class WaitForFileStream {
scoped_ptr<net::FileStream> file_stream,
ShareableFileReference* deletable_file) {
error_ = error;
- file_stream_ = file_stream.Pass();
+ file_stream_ = std::move(file_stream);
deletable_file_ = deletable_file;
loop_.Quit();
}
« no previous file with comments | « content/browser/loader/temporary_file_stream.cc ('k') | content/browser/loader/throttling_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698