diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-05-18 11:42:46 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-18 19:22:52 +0000 |
commit | 690d456ad54f021063dcc17fde27c7ba4d910717 (patch) | |
tree | 75ff5c3a11aa2f1cfc739e20179a8640bd0baae9 /xfa/fxfa/fm2js/cxfa_fmlexer.h | |
parent | e6792f9901267b2b65611e94713462bc9d0b5191 (diff) | |
download | pdfium-chromium/3104.tar.xz |
Use UnownedPtr to check CFX_*StringC lifetimeschromium/3104
Change interform to avoid temp StringC with dangling ptr.
Change-Id: I8d8659973bcdf2cdbcaa6efa6012e4acce5f1604
Reviewed-on: https://pdfium-review.googlesource.com/5571
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/cxfa_fmlexer.h')
-rw-r--r-- | xfa/fxfa/fm2js/cxfa_fmlexer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/fxfa/fm2js/cxfa_fmlexer.h b/xfa/fxfa/fm2js/cxfa_fmlexer.h index f4f8a68d8c..3b5b3727e7 100644 --- a/xfa/fxfa/fm2js/cxfa_fmlexer.h +++ b/xfa/fxfa/fm2js/cxfa_fmlexer.h @@ -95,6 +95,7 @@ class CXFA_FMToken { public: CXFA_FMToken(); explicit CXFA_FMToken(uint32_t uLineNum); + ~CXFA_FMToken(); CFX_WideStringC m_wstring; XFA_FM_TOKEN m_type; |