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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 1200053004: Move more string_util functions to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « net/tools/dump_cache/url_utilities.cc ('k') | rlz/lib/rlz_lib.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « net/tools/dump_cache/url_utilities.cc ('k') | rlz/lib/rlz_lib.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698