Index: components/omnibox/browser/keyword_provider_unittest.cc |
diff --git a/components/omnibox/browser/keyword_provider_unittest.cc b/components/omnibox/browser/keyword_provider_unittest.cc |
index fa44fbafc092638a3c46dabac4ff6a95176da051..c0476a5b30a18b08941db5e5d6e6a58765c282d0 100644 |
--- a/components/omnibox/browser/keyword_provider_unittest.cc |
+++ b/components/omnibox/browser/keyword_provider_unittest.cc |
@@ -2,7 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "components/omnibox/browser/keyword_provider.h" |
+ |
#include <stddef.h> |
+#include <utility> |
#include "base/command_line.h" |
#include "base/macros.h" |
@@ -12,7 +15,6 @@ |
#include "components/metrics/proto/omnibox_event.pb.h" |
#include "components/omnibox/browser/autocomplete_match.h" |
#include "components/omnibox/browser/autocomplete_scheme_classifier.h" |
-#include "components/omnibox/browser/keyword_provider.h" |
#include "components/omnibox/browser/mock_autocomplete_provider_client.h" |
#include "components/omnibox/browser/omnibox_field_trial.h" |
#include "components/search_engines/search_engines_switches.h" |
@@ -111,7 +113,7 @@ void KeywordProviderTest::SetUpClientAndKeywordProvider() { |
scoped_ptr<TemplateURLService> template_url_service( |
new TemplateURLService(kTestData, arraysize(kTestData))); |
client_.reset(new MockAutocompleteProviderClient()); |
- client_->set_template_url_service(template_url_service.Pass()); |
+ client_->set_template_url_service(std::move(template_url_service)); |
kw_provider_ = new KeywordProvider(client_.get(), nullptr); |
} |