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

Unified Diff: components/history/core/browser/url_utils.cc

Issue 963823003: Move InMemoryURLIndex into chrome/browser/autocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shortcut-database
Patch Set: Fixing win_chromium_x64_rel_ng build Created 5 years, 9 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: 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);
« no previous file with comments | « components/history/core/browser/top_sites_database.cc ('k') | components/history/core/browser/visit_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698