From e65756725f82456fced473d444961673ad7b3edb Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Thu, 20 Sep 2018 21:30:06 +0000 Subject: Make some methods const in XFAJSEmbedderTest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Commit-Queue: Nicolás Peña Moreno --- testing/xfa_js_embedder_test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/xfa_js_embedder_test.h') 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: -- cgit v1.2.3