aboutsummaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2020-01-27 22:41:14 +0000
committerChromium commit bot <commit-bot@chromium.org>2020-01-27 22:41:14 +0000
commit2def28bf1003a584f688840a595729d76ea6d393 (patch)
tree44de56c72e319ac7a03813ce2092c6e6c403acdd /xfa
parentb0a4cc418d08e6d48766148f952ac8036d9a22cd (diff)
downloadpdfium-2def28bf1003a584f688840a595729d76ea6d393.tar.gz
Re-enable test for bug 1265 under all cases.
The leak was plugged some time ago at revision 12bc1c4dae8 when layout items moved to a retained tree node representation. Bug: pdfium:1265 Change-Id: I1b174f5f786ce9c69479165eb1a881d5ee0df286 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/65591 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fxfa/layout/cxfa_layoutitem_embeddertest.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/xfa/fxfa/layout/cxfa_layoutitem_embeddertest.cpp b/xfa/fxfa/layout/cxfa_layoutitem_embeddertest.cpp
index 035da8763..0ba54efd2 100644
--- a/xfa/fxfa/layout/cxfa_layoutitem_embeddertest.cpp
+++ b/xfa/fxfa/layout/cxfa_layoutitem_embeddertest.cpp
@@ -9,18 +9,14 @@ class CXFALayoutItemEmbedderTest : public EmbedderTest {};
#if defined(LEAK_SANITIZER)
-// Leaks. See https://crbug.com/pdfium/1265
-#define MAYBE_Bug_1265 DISABLED_Bug_1265
-
// Leaks. See https://crbug.com/pdfium/1301
#define MAYBE_Bug_1301 DISABLED_Bug_1301
#else
-#define MAYBE_Bug_1265 Bug_1265
#define MAYBE_Bug_1301 Bug_1301
#endif
-TEST_F(CXFALayoutItemEmbedderTest, MAYBE_Bug_1265) {
+TEST_F(CXFALayoutItemEmbedderTest, Bug_1265) {
EXPECT_TRUE(OpenDocument("bug_1265.pdf"));
FPDF_PAGE page0 = LoadPage(0);
FPDF_PAGE page1 = LoadPage(1);