Index: components/omnibox/browser/mock_autocomplete_provider_client.h |
diff --git a/components/omnibox/browser/mock_autocomplete_provider_client.h b/components/omnibox/browser/mock_autocomplete_provider_client.h |
index 5367ba37fe72180ae3c91f6d85dabed1cbb502a7..af390d30f9d458add1f21913e48c64b12082ccd9 100644 |
--- a/components/omnibox/browser/mock_autocomplete_provider_client.h |
+++ b/components/omnibox/browser/mock_autocomplete_provider_client.h |
@@ -6,6 +6,7 @@ |
#define COMPONENTS_OMNIBOX_BROWSER_MOCK_AUTOCOMPLETE_PROVIDER_CLIENT_H_ |
#include <string> |
+#include <utility> |
#include "base/macros.h" |
#include "components/omnibox/browser/autocomplete_provider_client.h" |
@@ -78,7 +79,7 @@ class MockAutocompleteProviderClient : public AutocompleteProviderClient { |
MOCK_METHOD1(PrefetchImage, void(const GURL& url)); |
void set_template_url_service(scoped_ptr<TemplateURLService> service) { |
- template_url_service_ = service.Pass(); |
+ template_url_service_ = std::move(service); |
} |
private: |