| Index: components/history/core/browser/url_utils.cc
|
| diff --git a/components/history/core/browser/url_utils.cc b/components/history/core/browser/url_utils.cc
|
| index 2f4a1f6d6df5ad00d3e5a95c13f2307617c15ef6..a993619be392f9d842a1a11a0647b0494dab4b54 100644
|
| --- a/components/history/core/browser/url_utils.cc
|
| +++ b/components/history/core/browser/url_utils.cc
|
| @@ -79,7 +79,7 @@ GURL ToggleHTTPAndHTTPS(const GURL& url) {
|
| else
|
| return GURL::EmptyGURL();
|
| url::Component comp;
|
| - comp.len = new_scheme.length();
|
| + comp.len = static_cast<int>(new_scheme.length());
|
| GURL::Replacements replacement;
|
| replacement.SetScheme(new_scheme.c_str(), comp);
|
| return url.ReplaceComponents(replacement);
|
|
|