diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-05-12 15:50:47 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-15 13:36:16 +0000 |
commit | dc3a87c88da1ac710eadabeb2e5cf01aecb63f4b (patch) | |
tree | 26ddaea8a8521446a90531b8dd2281a4fdaec026 /xfa/fxfa/fm2js/xfa_lexer.h | |
parent | ef73cf5838ab3a902872d9fc57a90621cc3d7f21 (diff) | |
download | pdfium-dc3a87c88da1ac710eadabeb2e5cf01aecb63f4b.tar.xz |
Return unique_ptr from xfa lexer Scan() method
Change-Id: I7586194b59d2c8e28fc24b698ea93f4a2ab636e2
Reviewed-on: https://pdfium-review.googlesource.com/5474
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js/xfa_lexer.h')
-rw-r--r-- | xfa/fxfa/fm2js/xfa_lexer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/fm2js/xfa_lexer.h b/xfa/fxfa/fm2js/xfa_lexer.h index 100f757dc0..7968b78217 100644 --- a/xfa/fxfa/fm2js/xfa_lexer.h +++ b/xfa/fxfa/fm2js/xfa_lexer.h @@ -123,7 +123,7 @@ class CXFA_FMLexer { bool HasError() const; private: - CXFA_FMToken* Scan(); + std::unique_ptr<CXFA_FMToken> Scan(); const wchar_t* m_ptr; uint32_t m_uCurrentLine; |