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

Unified Diff: pdf/pdfium/pdfium_engine.cc

Issue 881013002: Roll pdfium to eef005055d6aafc2cc6066af37ce47d8b15ec7cd (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « DEPS ('k') | 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 cb323bb28f3c6708a8cb4fc064428caddeaf706e..fd36d72850810b9dd12858d2281e5e6a827fca84 100644
--- a/pdf/pdfium/pdfium_engine.cc
+++ b/pdf/pdfium/pdfium_engine.cc
@@ -2392,7 +2392,7 @@ pp::VarDictionary PDFiumEngine::GetNamedDestinations() {
pp::VarDictionary named_destinations;
for (unsigned long i = 0; i < FPDF_CountNamedDests(doc_); i++) {
base::string16 name;
- unsigned long buffer_bytes;
+ long buffer_bytes;
FPDF_GetNamedDest(doc_, i, NULL, buffer_bytes);
size_t name_length = buffer_bytes / sizeof(base::string16::value_type);
if (name_length > 0) {
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698