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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 1200393002: Add more string_util functions to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string
Patch Set: Android 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/test/url_request/url_request_slow_download_job.cc ('k') | ppapi/shared_impl/var.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 2825d8cf70c32cb5ddfb94dda6bfa1b2ad25c363..410b29b92fed574881d0cafe28f0c2c71d978b79 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -499,7 +499,7 @@ void FormatStringWithHyphens(base::string16* text) {
// Adobe Reader also get rid of trailing spaces right before a CRLF.
static const base::char16 kSpaceCrCn[] = {L' ', L'\r', L'\n', L'\0'};
static const base::char16 kCrCn[] = {L'\r', L'\n', L'\0'};
- ReplaceSubstringsAfterOffset(text, 0, kSpaceCrCn, kCrCn);
+ base::ReplaceSubstringsAfterOffset(text, 0, kSpaceCrCn, kCrCn);
}
// Replace CR/LF with just LF on POSIX.
« no previous file with comments | « net/test/url_request/url_request_slow_download_job.cc ('k') | ppapi/shared_impl/var.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698