summaryrefslogtreecommitdiff
path: root/testing/xfa_js_embedder_test.h
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.h
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.h')
-rw-r--r--testing/xfa_js_embedder_test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/xfa_js_embedder_test.h b/testing/xfa_js_embedder_test.h
index 27dddc3084..3534280676 100644
--- a/testing/xfa_js_embedder_test.h
+++ b/testing/xfa_js_embedder_test.h
@@ -31,12 +31,12 @@ class XFAJSEmbedderTest : public EmbedderTest {
JavaScriptOption javascript_option) override;
v8::Isolate* GetIsolate() const { return isolate_; }
- CXFA_Document* GetXFADocument();
+ CXFA_Document* GetXFADocument() const;
bool Execute(const ByteStringView& input);
bool ExecuteSilenceFailure(const ByteStringView& input);
- CFXJSE_Engine* GetScriptContext() { return script_context_; }
+ CFXJSE_Engine* GetScriptContext() const { return script_context_; }
CFXJSE_Value* GetValue() const { return value_.get(); }
private: