Merge to XFA: Remove void* ctor from CPDF_Number.
authorDan Sinclair <dsinclair@chromium.org>
Wed, 21 Oct 2015 13:04:14 +0000 (09:04 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Wed, 21 Oct 2015 13:04:14 +0000 (09:04 -0400)
commit1edb860fd465879311ec85c5c6385067b7985013
treeb98487088122ca95966550e2c902b0e3ded66ad5
parentbbe0e4d3b57f95e93535c95298203c62d62474fe
Merge to XFA: Remove void* ctor from CPDF_Number.

This Removes the ctor that took a pointer to the data to store and copied it
into the union memory. Instead, the call sites look at the type and pass the
correct value.

TBR=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1422473002 .

(cherry picked from commit 8430a5d04883fac4666d0c321fc679bcaf99cb71)

Review URL: https://codereview.chromium.org/1417113002 .
core/include/fpdfapi/fpdf_objects.h
core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp
core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp