summaryrefslogtreecommitdiff
path: root/fpdfsdk
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-04 16:53:26 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-04 16:53:26 -0800
commit4d0717934b7146a0fec7462ba131bd33f5dc246a (patch)
tree4ac7a09fe40b71f9376b6794808d06dc34b94255 /fpdfsdk
parent6f7ccc1854de9c08957078f8e443f251e0d6b424 (diff)
downloadpdfium-4d0717934b7146a0fec7462ba131bd33f5dc246a.tar.xz
Fix tests under no_v8 build option
TBR=thestig@chromium.org TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1670843002 .
Diffstat (limited to 'fpdfsdk')
-rw-r--r--fpdfsdk/src/fpdfformfill_embeddertest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/src/fpdfformfill_embeddertest.cpp b/fpdfsdk/src/fpdfformfill_embeddertest.cpp
index aae6ea7f77..c73dc008f7 100644
--- a/fpdfsdk/src/fpdfformfill_embeddertest.cpp
+++ b/fpdfsdk/src/fpdfformfill_embeddertest.cpp
@@ -64,6 +64,7 @@ TEST_F(FPDFFormFillEmbeddertest, BUG_514690) {
UnloadPage(page);
}
+#ifdef PDF_ENABLE_V8
TEST_F(FPDFFormFillEmbeddertest, BUG_551248) {
EmbedderTestTimerHandlingDelegate delegate;
SetDelegate(&delegate);
@@ -83,3 +84,4 @@ TEST_F(FPDFFormFillEmbeddertest, BUG_551248) {
EXPECT_EQ(0, alerts[0].type);
EXPECT_EQ(0, alerts[0].icon);
}
+#endif // PDF_ENABLE_V8