Remove some checks for object creation failures. They cannot fail.
authorLei Zhang <thestig@chromium.org>
Mon, 19 Oct 2015 18:52:28 +0000 (11:52 -0700)
committerLei Zhang <thestig@chromium.org>
Mon, 19 Oct 2015 18:52:28 +0000 (11:52 -0700)
commit6101a5f98b27888f1736ae74982ed4d409d83be0
tree84eedb3a83ba3b8ee88030a79842408cf8435c63
parent1b5084321ed924ad3fcc437c3effc81baafd18ac
Remove some checks for object creation failures. They cannot fail.

Also reduce nesting in if statements, remove CFX_SmartPointer, and
use more unique_ptrs.

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1393303004 .
core/include/fxcrt/fx_basic.h
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp