diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-21 22:10:25 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-21 22:10:25 +0000 |
commit | d328d91f9e7a49f0d79048a7d10be9ba17ad9cb2 (patch) | |
tree | adb8d8d9cfd3d780f523a1226f75fd4d5ebef1b8 | |
parent | 56e04d2656bdd5f2b9448d857e8e73ab16aadf8e (diff) | |
download | pdfium-chromium/3275.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>
-rw-r--r-- | xfa/fxfa/parser/cxfa_textdata.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/parser/cxfa_textdata.h | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/xfa/fxfa/parser/cxfa_textdata.h b/xfa/fxfa/parser/cxfa_textdata.h index 79ab48e41f..4a28a88d59 100644 --- a/xfa/fxfa/parser/cxfa_textdata.h +++ b/xfa/fxfa/parser/cxfa_textdata.h @@ -16,7 +16,7 @@ class CXFA_TextData : public CXFA_DataData { public: explicit CXFA_TextData(CXFA_Node* pNode); - WideString GetContent(); + WideString GetContent() const; }; #endif // XFA_FXFA_PARSER_CXFA_TEXTDATA_H_ |