commit | d13b1b5876e78bf52925cdeacfbd6e3438c7e4ad | [log] [tgz] |
---|---|---|
author | Henrique Nakashima <hnakashima@chromium.org> | Fri Feb 09 00:30:27 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 09 00:30:27 2018 |
tree | d6fd7e72e76168395a9ebb05e01e40aee0291efd | |
parent | 212ec8fa0dc58c729ba42eaa9c4fb69640e489b2 [diff] |
Switch pdfium_engine.cc to use FPDFDest_GetDestPageIndex(). The previously used FPDFDest_GetPageIndex() is deprecated and is incorrect. The return value for error is 0, which is also a valid value. FPDFDest_GetDestPageIndex() uses -1 as error value. Bug: 55776,535978,748852,pdfium:938 Change-Id: I96fa379bd1679d987da81321e763d1bb6c3022fd Reviewed-on: https://chromium-review.googlesource.com/909928 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#535591}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .