summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-02 09:16:40 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-02 09:16:40 -0700
commit436977e14b616facb2b950cba9ed9467aa617e6e (patch)
treef6c9ed29ccc224f3b50cabea4b62af437484f026
parent8b315b6d81c232b393c6034e2d272437104b0f57 (diff)
downloadpdfium-436977e14b616facb2b950cba9ed9467aa617e6e.tar.xz
Merge to XFA: Correct mistakes in test case for 507316
(cherry picked from commit ccc8b21622a7d6a7723bc04e065e0ec3666dab64) Original Review URL: https://codereview.chromium.org/1377403003 . TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1384053002 .
-rw-r--r--testing/embedder_test.cpp2
-rw-r--r--testing/resources/bug_507316.in2
-rw-r--r--testing/resources/bug_507316.pdf2
3 files changed, 3 insertions, 3 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp
index 151987fbb2..5dc5a66eb6 100644
--- a/testing/embedder_test.cpp
+++ b/testing/embedder_test.cpp
@@ -348,7 +348,7 @@ FPDF_PAGE EmbedderTest::GetPageTrampoline(FPDF_FORMFILLINFO* info,
FPDF_DOCUMENT document,
int page_index) {
EmbedderTest* test = static_cast<EmbedderTest*>(info);
- return test->delegate_->GetPage(test->m_pFormfillinfo, document, page_index);
+ return test->delegate_->GetPage(test->form_handle(), document, page_index);
}
// Can't use gtest-provided main since we need to stash the path to the
diff --git a/testing/resources/bug_507316.in b/testing/resources/bug_507316.in
index cd3f81eeea..87dd5c31c0 100644
--- a/testing/resources/bug_507316.in
+++ b/testing/resources/bug_507316.in
@@ -119,7 +119,7 @@ endstream
endobj
{{xref}}
trailer <<
- /Size 15
+ /Size 16
/Root 1 0 R
>>
{{startxref}}
diff --git a/testing/resources/bug_507316.pdf b/testing/resources/bug_507316.pdf
index 13c70830f8..ecc205ceae 100644
--- a/testing/resources/bug_507316.pdf
+++ b/testing/resources/bug_507316.pdf
@@ -137,7 +137,7 @@ xref
0000001365 00000 n
0000001433 00000 n
trailer <<
- /Size 15
+ /Size 16
/Root 1 0 R
>>
startxref