Fix segv in CFX_BaseArray::~CFX_BaseArray
authorTom Sepez <tsepez@chromium.org>
Fri, 30 Oct 2015 18:20:00 +0000 (11:20 -0700)
committerTom Sepez <tsepez@chromium.org>
Fri, 30 Oct 2015 18:20:00 +0000 (11:20 -0700)
commit83fa467a867c879f75447d99bc99f5f8831026f2
tree1da26510f3e805f06862f27d8b4f6bb8ad03ad42
parent6fc7919796b68d5264030250875dce2358605af1
Fix segv in CFX_BaseArray::~CFX_BaseArray

One can't blatantly memset() a class to zero if its
parent contains a vtable.

Fix some IWYU along the way.
Kill some casts along the way.

BUG=pdfium:259
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1416943007 .
xfa/src/fgas/include/fx_mem.h
xfa/src/fgas/include/fx_utl.h
xfa/src/fgas/src/crt/fx_utils.cpp