summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedtparag.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-08-16 16:37:16 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-17 15:39:14 +0000
commitb3e7bfa6ed35651a22df314352883ccb44a7203d (patch)
tree7d5c4734bb8203f358890d09d2bafc49bc7fa67a /xfa/fde/cfde_txtedtparag.h
parent1748c4f6e42cda6ffa6bf32731d2fd525c060cf1 (diff)
downloadpdfium-b3e7bfa6ed35651a22df314352883ccb44a7203d.tar.xz
Cleanup visibilty and unused methods in xfa/fde
This CL fixes the visibility of some methods in xfa/fde along with removing unused methods. Unused params are also removed. Change-Id: Ic6e6d2ac8d07dc4bdabb3e0121831e4bf3fbb8ec Reviewed-on: https://pdfium-review.googlesource.com/11271 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fde/cfde_txtedtparag.h')
-rw-r--r--xfa/fde/cfde_txtedtparag.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fde/cfde_txtedtparag.h b/xfa/fde/cfde_txtedtparag.h
index 4521f3be0c..becfb61070 100644
--- a/xfa/fde/cfde_txtedtparag.h
+++ b/xfa/fde/cfde_txtedtparag.h
@@ -9,6 +9,8 @@
#include <stdint.h>
+#include "core/fxcrt/cfx_unowned_ptr.h"
+
class CFDE_TxtEdtEngine;
class CFDE_TxtEdtParag {
@@ -37,7 +39,7 @@ class CFDE_TxtEdtParag {
int32_t m_nCharCount;
int32_t m_nLineCount;
int32_t* m_lpData;
- CFDE_TxtEdtEngine* m_pEngine;
+ CFX_UnownedPtr<CFDE_TxtEdtEngine> m_pEngine;
};
#endif // XFA_FDE_CFDE_TXTEDTPARAG_H_