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

Unified Diff: pdf/pdfium/pdfium_page.cc

Issue 448853002: Move StringToLowerASCII to base namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « pdf/document_loader.cc ('k') | ppapi/proxy/file_chooser_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_page.cc
diff --git a/pdf/pdfium/pdfium_page.cc b/pdf/pdfium/pdfium_page.cc
index f7656ed7161a09aa880b0368ebebbd2b378eca32..3012fad9c82d73b5ef5579001b16216ee8fdb032 100644
--- a/pdf/pdfium/pdfium_page.cc
+++ b/pdf/pdfium/pdfium_page.cc
@@ -189,8 +189,8 @@ base::Value* PDFiumPage::GetTextBoxAsValue(double page_height,
DCHECK(targets[i].url[targets[i].url.size() - 1] != '\0');
// PDFium may change the case of generated links.
- std::string lowerCaseURL = StringToLowerASCII(targets[i].url);
- std::string lowerCaseText = StringToLowerASCII(text_utf8);
+ std::string lowerCaseURL = base::StringToLowerASCII(targets[i].url);
+ std::string lowerCaseText = base::StringToLowerASCII(text_utf8);
size_t pos = lowerCaseText.find(lowerCaseURL, start);
size_t length = targets[i].url.size();
if (pos == std::string::npos) {
« no previous file with comments | « pdf/document_loader.cc ('k') | ppapi/proxy/file_chooser_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698