| Index: components/url_fixer/url_fixer.cc
|
| diff --git a/components/url_fixer/url_fixer.cc b/components/url_fixer/url_fixer.cc
|
| index f20159d2532919dfb507c38f2df145a4aff0cbe2..7c0427259df22d391779cd54a29e770cea785a61 100644
|
| --- a/components/url_fixer/url_fixer.cc
|
| +++ b/components/url_fixer/url_fixer.cc
|
| @@ -343,7 +343,7 @@ bool HasPort(const std::string& original_text,
|
|
|
| // Scan the range to see if it is entirely digits.
|
| for (size_t i = port_start; i < port_end; ++i) {
|
| - if (!IsAsciiDigit(original_text[i]))
|
| + if (!base::IsAsciiDigit(original_text[i]))
|
| return false;
|
| }
|
|
|
| @@ -467,7 +467,8 @@ std::string SegmentURLInternal(std::string* text, url::Parsed* parts) {
|
| // We need to add a scheme in order for ParseStandardURL to be happy.
|
| // Find the first non-whitespace character.
|
| std::string::iterator first_nonwhite = text->begin();
|
| - while ((first_nonwhite != text->end()) && IsWhitespace(*first_nonwhite))
|
| + while ((first_nonwhite != text->end()) &&
|
| + base::IsUnicodeWhitespace(*first_nonwhite))
|
| ++first_nonwhite;
|
|
|
| // Construct the text to parse by inserting the scheme.
|
|
|