Fix layering violation in CPDF_Document::FromFPDFDocument().
authorTom Sepez <tsepez@chromium.org>
Thu, 15 Oct 2015 21:51:42 +0000 (14:51 -0700)
committerTom Sepez <tsepez@chromium.org>
Thu, 15 Oct 2015 21:51:42 +0000 (14:51 -0700)
commit86adb658843658969041a13bf6cf0cc950ffe8ed
tree374cd2cb1fa62dd95301d7a777c6e03bfbf8d780
parentbb51c4fb6bc6095984c303c95e5336f83e66bc67
Fix layering violation in CPDF_Document::FromFPDFDocument().

Make this a function in the fpdfsdk/ layer, rather than a method
in the core/ layer. Nothing in core should know about public FPDF
types.

BUG=pdfium:217
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1396283006 .
12 files changed:
core/include/fpdfapi/fpdf_parser.h
core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp
fpdfsdk/include/fsdk_define.h
fpdfsdk/src/fpdf_dataavail.cpp
fpdfsdk/src/fpdf_ext.cpp
fpdfsdk/src/fpdfdoc.cpp
fpdfsdk/src/fpdfeditimg.cpp
fpdfsdk/src/fpdfeditpage.cpp
fpdfsdk/src/fpdfformfill.cpp
fpdfsdk/src/fpdfppo.cpp
fpdfsdk/src/fpdfsave.cpp
fpdfsdk/src/fpdfview.cpp