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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 1350073006: Use UintToString() to convert uint32 to string (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | no next file » | 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 ae3fb3e3b51d30593b803967cb2cbea9c34626dd..5f1eec6b62d4df63183dc1f0da9469c79aad7d00 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -1580,12 +1580,12 @@ pp::Buffer_Dev PDFiumEngine::PrintPagesAsPDF(
if (!page_number_str.empty())
page_number_str.append(",");
page_number_str.append(
- base::IntToString(page_ranges[index].first_page_number + 1));
+ base::UintToString(page_ranges[index].first_page_number + 1));
if (page_ranges[index].first_page_number !=
page_ranges[index].last_page_number) {
page_number_str.append("-");
page_number_str.append(
- base::IntToString(page_ranges[index].last_page_number + 1));
+ base::UintToString(page_ranges[index].last_page_number + 1));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698