CPDF_Parser shouldnt be in the business of opening files
authorTom Sepez <tsepez@chromium.org>
Wed, 5 Aug 2015 17:39:02 +0000 (10:39 -0700)
committerTom Sepez <tsepez@chromium.org>
Wed, 5 Aug 2015 17:39:02 +0000 (10:39 -0700)
commit2b9178181eb82a3611bee5c9435ea5956def24be
treefe7909a1b5338a328f9e53ec1501e72c675da1e7
parent5cd398545141226f082b2f757f23c73303058a83
CPDF_Parser shouldnt be in the business of opening files

Move that operation closer to the embedder's call.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1269073003 .
core/include/fpdfapi/fpdf_parser.h
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp
fpdfsdk/src/fpdfview.cpp