Delete dead code for deleting pages and icons.
authorLei Zhang <thestig@chromium.org>
Mon, 22 Jun 2015 22:10:28 +0000 (15:10 -0700)
committerLei Zhang <thestig@chromium.org>
Mon, 22 Jun 2015 22:10:28 +0000 (15:10 -0700)
commitf55771af6429ecf14beed1cae5ec2340ef7f37ad
tree96f83002cb0e831e5091920925998bcc9fcea55d
parentf2d3911ce1a07812d75e7671e038d0922a823528
Delete dead code for deleting pages and icons.

1) Document::deletePages()
2) CPDFSDK_Document::DeletePages()
3) Document::removeIcon()
4) IconTree::DeleteIconElement()

Originally (1) called (2), but only when FOXIT_CHROME_BUILD was not
defined. Since it was always defined for PDFium, this was effectively
dead code the whole time. Ditto for (3) and (4). The functions were
deemed unsafe in https://crbug.com/67100

R=jam@chromium.org

Review URL: https://codereview.chromium.org/1193323002.
fpdfsdk/include/fsdk_mgr.h
fpdfsdk/include/javascript/Document.h
fpdfsdk/src/fsdk_mgr.cpp
fpdfsdk/src/javascript/Document.cpp