summaryrefslogtreecommitdiff
path: root/testing/embedder_test.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-02 09:05:53 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-02 09:05:53 -0700
commitccc8b21622a7d6a7723bc04e065e0ec3666dab64 (patch)
tree0de33e1e4f34c6861fd40edaaa55fdc77f84745f /testing/embedder_test.cpp
parent20fc82efdc9c9e4caa6e72d05a83b9206e8c8f72 (diff)
downloadpdfium-ccc8b21622a7d6a7723bc04e065e0ec3666dab64.tar.xz
Correct mistakes in test case for 507316
Original patch by chamalsl. Trailer size in bug_507316 was wrong. embedder_test.cpp's GetPageTrampoline passed null parameter. It will affect future test cases even if it does not affect this. BUG=507316 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1377403003 .
Diffstat (limited to 'testing/embedder_test.cpp')
-rw-r--r--testing/embedder_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp
index eb16bc70f9..951da8470c 100644
--- a/testing/embedder_test.cpp
+++ b/testing/embedder_test.cpp
@@ -337,7 +337,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