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

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

Issue 254763005: Move some content url constants to /url. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve a merge conflict. Created 6 years, 7 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/autocomplete_match.cc
diff --git a/chrome/browser/autocomplete/autocomplete_match.cc b/chrome/browser/autocomplete/autocomplete_match.cc
index f13669e4d04ea97924c110264f466ebfae625d62..1aa2c36ccbd525aa5ef7f7e324d5d39fce520830 100644
--- a/chrome/browser/autocomplete/autocomplete_match.cc
+++ b/chrome/browser/autocomplete/autocomplete_match.cc
@@ -376,9 +376,9 @@ void AutocompleteMatch::ComputeStrippedDestinationURL(Profile* profile) {
}
// Replace https protocol with http protocol.
- if (stripped_destination_url.SchemeIs(content::kHttpsScheme)) {
- replacements.SetScheme(content::kHttpScheme,
- url::Component(0, strlen(content::kHttpScheme)));
+ if (stripped_destination_url.SchemeIs(url::kHttpsScheme)) {
+ replacements.SetScheme(url::kHttpScheme,
+ url::Component(0, strlen(url::kHttpScheme)));
needs_replacement = true;
}
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_input.cc ('k') | chrome/browser/autocomplete/autocomplete_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698