summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_widetextread.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-12-07 13:45:41 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-07 13:45:41 -0800
commitcd5e12a9ea397b48056643a7b65126395eec3174 (patch)
treed1b6b0c0e1b8f8d996aa987e6386338bca5ba92b /xfa/fxfa/parser/cxfa_widetextread.cpp
parent7cda31ac2f2884166f044937619478a6103198cf (diff)
downloadpdfium-cd5e12a9ea397b48056643a7b65126395eec3174.tar.xz
Catch stray Retains() and Releases() outside of RetainPtr<>.
The previous CLs made the code clean, so now we can mark more things private, and add friends as appropriate. Review-Url: https://codereview.chromium.org/2560783003
Diffstat (limited to 'xfa/fxfa/parser/cxfa_widetextread.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_widetextread.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_widetextread.cpp b/xfa/fxfa/parser/cxfa_widetextread.cpp
index 54442df7c0..34fa6b9c5e 100644
--- a/xfa/fxfa/parser/cxfa_widetextread.cpp
+++ b/xfa/fxfa/parser/cxfa_widetextread.cpp
@@ -14,6 +14,8 @@
CXFA_WideTextRead::CXFA_WideTextRead(const CFX_WideString& wsBuffer)
: m_wsBuffer(wsBuffer), m_iPosition(0) {}
+CXFA_WideTextRead::~CXFA_WideTextRead() {}
+
uint32_t CXFA_WideTextRead::GetAccessModes() const {
return FX_STREAMACCESS_Read | FX_STREAMACCESS_Text;
}