Make conversion between CPDF_Dest and its object explicit.
authorTom Sepez <tsepez@chromium.org>
Fri, 6 Mar 2015 18:34:48 +0000 (10:34 -0800)
committerTom Sepez <tsepez@chromium.org>
Fri, 6 Mar 2015 18:34:48 +0000 (10:34 -0800)
commit5a370d77d0db7550e91888f0ff50ee305f0f9f3d
tree8904d0b898864938c5ad8b4eb26c0ae9fbcb21b4
parent7348faecc70ca3bff5aa3715da32032f0c897c23
Make conversion between CPDF_Dest and its object explicit.

Precursor to taking a second shot at cleaning up the FPDF_*
APIs.  A FPDF_Dest is a CPDF_Array, and a CPDF_Dest
is a structure holding a FPDF_Dest.  This goes against the
convention that FPDF_ types get cast to CPDF_* types, so we
want to make it clear where objects are getting constructed,
etc.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/984703004
core/include/fpdfdoc/fpdf_doc.h
core/src/fpdfdoc/doc_action.cpp
core/src/fpdfdoc/doc_bookmark.cpp
core/src/fpdfdoc/doc_link.cpp
fpdfsdk/src/fpdfdoc.cpp
fpdfsdk/src/fsdk_actionhandler.cpp