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

Unified Diff: content/public/test/test_browser_context.cc

Issue 1544293002: Convert Pass()→std::move() in //content (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/public/test/test_browser_context.cc
diff --git a/content/public/test/test_browser_context.cc b/content/public/test/test_browser_context.cc
index c1c139ce9b7a37f82ec85808d3b629073135a1f8..a022778c280d738a58f37bef3f8116bb2eee9c64 100644
--- a/content/public/test/test_browser_context.cc
+++ b/content/public/test/test_browser_context.cc
@@ -4,6 +4,8 @@
#include "content/public/test/test_browser_context.h"
+#include <utility>
+
#include "base/files/file_path.h"
#include "base/test/null_task_runner.h"
#include "content/public/browser/background_sync_controller.h"
@@ -59,7 +61,7 @@ void TestBrowserContext::SetSpecialStoragePolicy(
void TestBrowserContext::SetBackgroundSyncController(
scoped_ptr<BackgroundSyncController> controller) {
- background_sync_controller_ = controller.Pass();
+ background_sync_controller_ = std::move(controller);
}
base::FilePath TestBrowserContext::GetPath() const {
« no previous file with comments | « content/public/test/mock_render_process_host.h ('k') | content/public/test/test_download_request_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698