diff options
Diffstat (limited to 'chrome/browser/ui/omnibox/omnibox_edit_model.cc')
-rw-r--r-- | chrome/browser/ui/omnibox/omnibox_edit_model.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc index 284d472..1d81416 100644 --- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc +++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc @@ -481,10 +481,10 @@ void OmniboxEditModel::AdjustTextForCopy(int sel_min, // entire host, and the user hasn't edited the host or manually removed the // scheme. GURL perm_url(PermanentURL()); - if (perm_url.SchemeIs(content::kHttpScheme) && - url->SchemeIs(content::kHttpScheme) && perm_url.host() == url->host()) { + if (perm_url.SchemeIs(url::kHttpScheme) && + url->SchemeIs(url::kHttpScheme) && perm_url.host() == url->host()) { *write_url = true; - base::string16 http = base::ASCIIToUTF16(content::kHttpScheme) + + base::string16 http = base::ASCIIToUTF16(url::kHttpScheme) + base::ASCIIToUTF16(content::kStandardSchemeSeparator); if (text->compare(0, http.length(), http) != 0) *text = http + *text; |