Index: pdf/pdfium/pdfium_engine.cc |
diff --git a/pdf/pdfium/pdfium_engine.cc b/pdf/pdfium/pdfium_engine.cc |
index 1672ec40f93cc8174f2103d8ad7dab018fa16711..2825d8cf70c32cb5ddfb94dda6bfa1b2ad25c363 100644 |
--- a/pdf/pdfium/pdfium_engine.cc |
+++ b/pdf/pdfium/pdfium_engine.cc |
@@ -472,7 +472,7 @@ void FormatStringWithHyphens(base::string16* text) { |
current_hyphen_position = HyphenPosition(); |
current_hyphen_position.position = i; |
current_hyphen_position_is_valid = true; |
- } else if (IsWhitespace(current_char)) { |
+ } else if (base::IsUnicodeWhitespace(current_char)) { |
if (current_hyphen_position_is_valid) { |
if (current_char != L'\r' && current_char != L'\n') |
current_hyphen_position.next_whitespace_position = i; |