| Index: components/google/core/browser/google_util.cc
|
| diff --git a/components/google/core/browser/google_util.cc b/components/google/core/browser/google_util.cc
|
| index 307cebb3f7873ce81b6512dce632e5ec25b658de..58d2d21d33f3b00ffeaf2d651d40d228fddcf646 100644
|
| --- a/components/google/core/browser/google_util.cc
|
| +++ b/components/google/core/browser/google_util.cc
|
| @@ -132,11 +132,9 @@ std::string GetGoogleCountryCode(GURL google_homepage_url) {
|
| GURL GetGoogleSearchURL(GURL google_homepage_url) {
|
| // To transform the homepage URL into the corresponding search URL, add the
|
| // "search" and the "q=" query string.
|
| - std::string search_path = "search";
|
| - std::string query_string = "q=";
|
| GURL::Replacements replacements;
|
| - replacements.SetPathStr(search_path);
|
| - replacements.SetQueryStr(query_string);
|
| + replacements.SetPathStr("search");
|
| + replacements.SetQueryStr("q=");
|
| return google_homepage_url.ReplaceComponents(replacements);
|
| }
|
|
|
|
|