summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_textdata.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-21 22:10:25 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-21 22:10:25 +0000
commitd328d91f9e7a49f0d79048a7d10be9ba17ad9cb2 (patch)
treeadb8d8d9cfd3d780f523a1226f75fd4d5ebef1b8 /xfa/fxfa/parser/cxfa_textdata.cpp
parent56e04d2656bdd5f2b9448d857e8e73ab16aadf8e (diff)
downloadpdfium-d328d91f9e7a49f0d79048a7d10be9ba17ad9cb2.tar.xz
Cleanup CXFA_TextDatachromium/3275
This CL makes GetContent const. Change-Id: I0dc3f939d265f4605a1bfb14020ca938d47f5602 Reviewed-on: https://pdfium-review.googlesource.com/19112 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_textdata.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_textdata.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_textdata.cpp b/xfa/fxfa/parser/cxfa_textdata.cpp
index adecd9c831..a042853c6e 100644
--- a/xfa/fxfa/parser/cxfa_textdata.cpp
+++ b/xfa/fxfa/parser/cxfa_textdata.cpp
@@ -10,6 +10,6 @@
CXFA_TextData::CXFA_TextData(CXFA_Node* pNode) : CXFA_DataData(pNode) {}
-WideString CXFA_TextData::GetContent() {
+WideString CXFA_TextData::GetContent() const {
return m_pNode->JSNode()->GetContent(false);
}