diff options
author | Nicolas Pena <npm@chromium.org> | 2018-09-20 21:30:06 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-20 21:30:06 +0000 |
commit | e65756725f82456fced473d444961673ad7b3edb (patch) | |
tree | e7163b798d28668bfe6fb0cf9fc40b8f1e816905 /testing/embedder_test.h | |
parent | 4bf804086c4f08c7d5959dd9c08d998b546bbc4b (diff) | |
download | pdfium-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/embedder_test.h')
-rw-r--r-- | testing/embedder_test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/embedder_test.h b/testing/embedder_test.h index ef4fe02721..64707631b5 100644 --- a/testing/embedder_test.h +++ b/testing/embedder_test.h @@ -81,8 +81,8 @@ class EmbedderTest : public ::testing::Test, delegate_ = delegate ? delegate : default_delegate_.get(); } - FPDF_DOCUMENT document() { return document_; } - FPDF_FORMHANDLE form_handle() { return form_handle_; } + FPDF_DOCUMENT document() const { return document_; } + FPDF_FORMHANDLE form_handle() const { return form_handle_; } // Create an empty document, and its form fill environment. Returns true // on success or false on failure. |