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

Unified Diff: chrome/browser/autocomplete/history_url_provider_unittest.cc

Issue 17948002: Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 months 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/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) {
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | chrome/browser/background/background_application_list_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698