Fix leaks in the embedder tests themselves.
authorLei Zhang <thestig@chromium.org>
Fri, 15 May 2015 22:13:25 +0000 (15:13 -0700)
committerLei Zhang <thestig@chromium.org>
Fri, 15 May 2015 22:13:25 +0000 (15:13 -0700)
commit61ffad8df484ab9b3f7d2f5519ec470fbc023b88
tree0bc082f49a3961df5138928ee84f4a47eb1de4c7
parent9f6f34892fdfff87c49a9df4c1e34790c0fa1272
Fix leaks in the embedder tests themselves.

Also change EmbedderTest::TearDown() to match the destruction order in
Chromium's PDF code.

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1138143003
core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp
fpdfsdk/src/fpdfformfill_embeddertest.cpp
fpdfsdk/src/fpdftext_embeddertest.cpp
fpdfsdk/src/fpdfview_embeddertest.cpp
samples/pdfium_test.cc
testing/embedder_test.cpp