Fix bug in CPDF_PageContentGenerate constructor and destructor
authorBo Xu <bo_xu@foxitsoftware.com>
Wed, 20 Aug 2014 00:17:04 +0000 (17:17 -0700)
committerBo Xu <bo_xu@foxitsoftware.com>
Wed, 20 Aug 2014 00:17:04 +0000 (17:17 -0700)
commit93d081110279c309433a397bfba71b46533a710d
tree7f279b7d4c5af7d815e861d80e76cbad2fef0034
parent8cf33bc76455afda7c65f61e70899754a6186d2c
Fix bug in CPDF_PageContentGenerate constructor and destructor

m_pageObjects never gets initialize, thus making CPDF_PageContentGenerate::GenerateContent() doing nothing.

Since the CPFD_PageObject are owned by m_pPage, no need to release them in the destructor.

BUG=385119
R=thestig@chromium.org, vitalybuka@chromium.org

Review URL: https://codereview.chromium.org/470253004
core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp