Index: pdf/pdfium/pdfium_page.cc |
diff --git a/pdf/pdfium/pdfium_page.cc b/pdf/pdfium/pdfium_page.cc |
index a7912a6e344bf60ebe8f3382be9f9620444d0cec..79410c46987c0e907459cb39ab7452415efbf1db 100644 |
--- a/pdf/pdfium/pdfium_page.cc |
+++ b/pdf/pdfium/pdfium_page.cc |
@@ -204,8 +204,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 = base::StringToLowerASCII(targets[i].url); |
- std::string lowerCaseText = base::StringToLowerASCII(text_utf8); |
+ std::string lowerCaseURL = base::ToLowerASCII(targets[i].url); |
+ std::string lowerCaseText = base::ToLowerASCII(text_utf8); |
size_t pos = lowerCaseText.find(lowerCaseURL, start); |
size_t length = targets[i].url.size(); |
if (pos == std::string::npos) { |