Remove void* ctor from CPDF_Number.
authorDan Sinclair <dsinclair@chromium.org>
Wed, 21 Oct 2015 12:57:40 +0000 (08:57 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Wed, 21 Oct 2015 12:57:40 +0000 (08:57 -0400)
commit8430a5d04883fac4666d0c321fc679bcaf99cb71
tree08e0bdbd642aebab3362bd31e0abc671158aa14b
parent5a5b6fb3759daf1201ffc9702f626f4b243922d0
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.

R=tsepez@chromium.org

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