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

Unified Diff: chrome/browser/local_discovery/gcd_api_flow_unittest.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (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: chrome/browser/local_discovery/gcd_api_flow_unittest.cc
diff --git a/chrome/browser/local_discovery/gcd_api_flow_unittest.cc b/chrome/browser/local_discovery/gcd_api_flow_unittest.cc
index 9e8da41095d7c0f83c2d51be8ab7bf7bf23d929e..4d112800d8185b42f673c5d753985ba63497d462 100644
--- a/chrome/browser/local_discovery/gcd_api_flow_unittest.cc
+++ b/chrome/browser/local_discovery/gcd_api_flow_unittest.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/local_discovery/gcd_api_flow.h"
+#include <utility>
+
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
#include "base/thread_task_runner_handle.h"
@@ -65,7 +67,7 @@ class GCDApiFlowTest : public testing::Test {
GURL("https://www.google.com/cloudprint/confirm?token=SomeToken")));
gcd_flow_.reset(new GCDApiFlowImpl(
request_context_.get(), &token_service_, account_id_));
- gcd_flow_->Start(delegate.Pass());
+ gcd_flow_->Start(std::move(delegate));
}
base::MessageLoopForUI loop_;
content::TestBrowserThread ui_thread_;

Powered by Google App Engine
This is Rietveld 408576698