Index: chrome/browser/autocomplete/history_url_provider_unittest.cc |
diff --git a/chrome/browser/autocomplete/history_url_provider_unittest.cc b/chrome/browser/autocomplete/history_url_provider_unittest.cc |
index 049bd7c95ea2d80ad62fbe842be9a12282b85ffe..0e9e87fa590f442e5c4e4677a3cd8b06380af88c 100644 |
--- a/chrome/browser/autocomplete/history_url_provider_unittest.cc |
+++ b/chrome/browser/autocomplete/history_url_provider_unittest.cc |
@@ -855,9 +855,8 @@ TEST_F(HistoryURLProviderTest, SuggestExactInput) { |
AutocompleteInput input(ASCIIToUTF16(test_cases[i].input), string16::npos, |
string16(), GURL("about:blank"), |
false, false, true, AutocompleteInput::ALL_MATCHES); |
- AutocompleteMatch match = |
- HistoryURLProvider::SuggestExactInput(autocomplete_, input, |
- test_cases[i].trim_http); |
+ AutocompleteMatch match = HistoryURLProvider::SuggestExactInput( |
+ autocomplete_.get(), input, test_cases[i].trim_http); |
EXPECT_EQ(ASCIIToUTF16(test_cases[i].contents), match.contents); |
for (size_t match_index = 0; match_index < match.contents_class.size(); |
++match_index) { |