| Index: ui/accessibility/ax_text_utils.cc
|
| diff --git a/ui/accessibility/ax_text_utils.cc b/ui/accessibility/ax_text_utils.cc
|
| index da336b6194ad3a5dc37be071315817cb1e870b49..1e68559027ec8faf455b80440fda9e60b46b0bd5 100644
|
| --- a/ui/accessibility/ax_text_utils.cc
|
| +++ b/ui/accessibility/ax_text_utils.cc
|
| @@ -62,7 +62,7 @@ size_t FindAccessibleTextBoundary(const base::string16& text,
|
| NOTREACHED(); // These are handled above.
|
| break;
|
| case WORD_BOUNDARY:
|
| - if (IsWhitespace(text[pos]))
|
| + if (base::IsUnicodeWhitespace(text[pos]))
|
| return result;
|
| break;
|
| case PARAGRAPH_BOUNDARY:
|
| @@ -71,7 +71,8 @@ size_t FindAccessibleTextBoundary(const base::string16& text,
|
| break;
|
| case SENTENCE_BOUNDARY:
|
| if ((text[pos] == '.' || text[pos] == '!' || text[pos] == '?') &&
|
| - (pos == text_size - 1 || IsWhitespace(text[pos + 1]))) {
|
| + (pos == text_size - 1 ||
|
| + base::IsUnicodeWhitespace(text[pos + 1]))) {
|
| return result;
|
| }
|
| break;
|
|
|