Make conversions for CPDF_Link explicit.
authorTom Sepez <tsepez@chromium.org>
Fri, 6 Mar 2015 20:28:34 +0000 (12:28 -0800)
committerTom Sepez <tsepez@chromium.org>
Fri, 6 Mar 2015 20:28:34 +0000 (12:28 -0800)
commit0700106e13b84781c86398bb5e2b5dd3ed894007
tree4037c37f3bfb07279ec7547a009641a3e4754eb3
parent8842c6214cf70fa4237d17684cc9f609536c0240
Make conversions for CPDF_Link explicit.

Precursor to taking a second shot at cleaning up the FPDF_*
APIs.  A FPDF_LINK is a CPDF_Dictionary, and a CPDF_Link
is a structure holding a FPDF_LINK.  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.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/985503005
core/include/fpdfdoc/fpdf_doc.h
core/src/fpdfdoc/doc_link.cpp
fpdfsdk/src/fpdfdoc.cpp