Merge to XFA: Remove some checks for object creation failures. They cannot fail.
authorLei Zhang <thestig@chromium.org>
Mon, 19 Oct 2015 19:08:54 +0000 (12:08 -0700)
committerLei Zhang <thestig@chromium.org>
Mon, 19 Oct 2015 19:08:54 +0000 (12:08 -0700)
commit29cd8b9631408c0360c744e23a2733d24c9224ec
tree6ea0cc3a574993b4a2f6f26968e18a19ca1f91f6
parent184e4a189d1391bff014aa6ecc0f9b0d83081826
Merge to XFA: Remove some checks for object creation failures. They cannot fail.

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

TBR=tsepez@chromium.org

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

(cherry picked from commit 6101a5f98b27888f1736ae74982ed4d409d83be0)

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