diff options
author | ricea <ricea@chromium.org> | 2015-09-21 03:46:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-21 10:48:33 +0000 |
commit | faacddb5f9812cff16cc3ac36429bcde8cac0607 (patch) | |
tree | 74a7e0961392d738d097051531d632cebae18df8 /pdf | |
parent | 320bce7ced9dc33f6219c13137dae7310e42f720 (diff) | |
download | chromium_src-faacddb5f9812cff16cc3ac36429bcde8cac0607.zip chromium_src-faacddb5f9812cff16cc3ac36429bcde8cac0607.tar.gz chromium_src-faacddb5f9812cff16cc3ac36429bcde8cac0607.tar.bz2 |
Use UintToString() to convert uint32 to string
No behaviour change.
BUG=505479
TEST=compile
Review URL: https://codereview.chromium.org/1350073006
Cr-Commit-Position: refs/heads/master@{#349919}
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/pdfium/pdfium_engine.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf/pdfium/pdfium_engine.cc b/pdf/pdfium/pdfium_engine.cc index ae3fb3e..5f1eec6 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)); } } |