Index: components/search_engines/template_url_unittest.cc |
diff --git a/components/search_engines/template_url_unittest.cc b/components/search_engines/template_url_unittest.cc |
index 29f75a7e3b39851a18c6a79a40063da0bb1d7290..a51ab69acee5d7b8d9b828feb1f9d439a394089f 100644 |
--- a/components/search_engines/template_url_unittest.cc |
+++ b/components/search_engines/template_url_unittest.cc |
@@ -424,8 +424,9 @@ TEST_F(TemplateURLTest, ReplaceSearchTerms) { |
EXPECT_TRUE(url.url_ref().IsValid(search_terms_data_)); |
ASSERT_TRUE(url.url_ref().SupportsReplacement(search_terms_data_)); |
std::string expected_result = test_data[i].expected_result; |
- ReplaceSubstringsAfterOffset(&expected_result, 0, "{language}", |
- search_terms_data_.GetApplicationLocale()); |
+ base::ReplaceSubstringsAfterOffset( |
+ &expected_result, 0, "{language}", |
+ search_terms_data_.GetApplicationLocale()); |
GURL result(url.url_ref().ReplaceSearchTerms( |
TemplateURLRef::SearchTermsArgs(ASCIIToUTF16("X")), |
search_terms_data_)); |