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

Unified Diff: chrome/browser/local_discovery/privet_http_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/privet_http_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_http_unittest.cc b/chrome/browser/local_discovery/privet_http_unittest.cc
index a8cb53c1f7d489e4d99c902d43dd49b904936b8e..84d0a705b8077b66d5a3a6d227c733742f449f77 100644
--- a/chrome/browser/local_discovery/privet_http_unittest.cc
+++ b/chrome/browser/local_discovery/privet_http_unittest.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/local_discovery/privet_http.h"
+#include <utility>
+
#include "base/json/json_reader.h"
#include "base/json/json_writer.h"
#include "base/run_loop.h"
@@ -762,7 +764,7 @@ class PrivetLocalPrintTest : public PrivetHTTPTest {
new FakePWGRasterConverter);
pwg_converter_ = pwg_converter.get();
local_print_operation_->SetPWGRasterConverterForTesting(
- pwg_converter.Pass());
+ std::move(pwg_converter));
}
scoped_refptr<base::RefCountedBytes> RefCountedBytesFromString(

Powered by Google App Engine
This is Rietveld 408576698