Merge to XFA: Fix leaks in the embedder tests themselves.
authorLei Zhang <thestig@chromium.org>
Fri, 15 May 2015 22:36:02 +0000 (15:36 -0700)
committerLei Zhang <thestig@chromium.org>
Fri, 15 May 2015 22:36:02 +0000 (15:36 -0700)
commitd27acae33ff902ee85ae4f8ec76d4f64c294637b
tree44506c7c78a15dfee730b2ff3e6e675e561b510a
parentb6e5df2eded21ca142adf43b4f78a9027589bfeb
Merge to XFA: 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

(cherry picked from commit 61ffad8df484ab9b3f7d2f5519ec470fbc023b88)

Review URL: https://codereview.chromium.org/1138973004
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
testing/embedder_test.cpp