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

Unified Diff: chrome/browser/autocomplete/keyword_extensions_delegate_impl_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/autocomplete/keyword_extensions_delegate_impl_unittest.cc
diff --git a/chrome/browser/autocomplete/keyword_extensions_delegate_impl_unittest.cc b/chrome/browser/autocomplete/keyword_extensions_delegate_impl_unittest.cc
index 16236b76621cc6c5a05dfba108cf9ea8ba9200f5..4ffae48af093d97ea2a550fec08b4ba1f18c1880 100644
--- a/chrome/browser/autocomplete/keyword_extensions_delegate_impl_unittest.cc
+++ b/chrome/browser/autocomplete/keyword_extensions_delegate_impl_unittest.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/autocomplete/keyword_extensions_delegate_impl.h"
+#include <utility>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/path_service.h"
@@ -83,7 +85,7 @@ void KeywordExtensionsDelegateImplTest::SetUp() {
void KeywordExtensionsDelegateImplTest::RunTest(bool incognito) {
scoped_ptr<TemplateURLService> empty_model(new TemplateURLService(NULL, 0));
MockAutocompleteProviderClient client;
- client.set_template_url_service(empty_model.Pass());
+ client.set_template_url_service(std::move(empty_model));
scoped_refptr<KeywordProvider> keyword_provider =
new KeywordProvider(&client, nullptr);

Powered by Google App Engine
This is Rietveld 408576698