summaryrefslogtreecommitdiff
path: root/testing/xfa_js_embedder_test.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2018-09-20 21:30:06 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-20 21:30:06 +0000
commite65756725f82456fced473d444961673ad7b3edb (patch)
treee7163b798d28668bfe6fb0cf9fc40b8f1e816905 /testing/xfa_js_embedder_test.cpp
parent4bf804086c4f08c7d5959dd9c08d998b546bbc4b (diff)
downloadpdfium-e65756725f82456fced473d444961673ad7b3edb.tar.xz
Make some methods const in XFAJSEmbedderTestchromium/3560chromium/3559chromium/3558
This CL addresses the published draft comment from https://pdfium-review.googlesource.com/c/pdfium/+/5691/ Change-Id: I7a2cd9aa5dbdde18cadb82cbef70f0e8820cc276 Reviewed-on: https://pdfium-review.googlesource.com/42871 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'testing/xfa_js_embedder_test.cpp')
-rw-r--r--testing/xfa_js_embedder_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/xfa_js_embedder_test.cpp b/testing/xfa_js_embedder_test.cpp
index 97009f34c2..8d2f64eaa7 100644
--- a/testing/xfa_js_embedder_test.cpp
+++ b/testing/xfa_js_embedder_test.cpp
@@ -43,7 +43,7 @@ void XFAJSEmbedderTest::TearDown() {
isolate_ = nullptr;
}
-CXFA_Document* XFAJSEmbedderTest::GetXFADocument() {
+CXFA_Document* XFAJSEmbedderTest::GetXFADocument() const {
auto* pDoc = CPDFDocumentFromFPDFDocument(document());
if (!pDoc)
return nullptr;