diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-23 15:19:44 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-23 19:54:44 +0000 |
commit | 25d2ad482399ec20fdd0542d7c286ed06842f053 (patch) | |
tree | 01ff413c765c1e30b123e5a88681eb6f1f92aab9 /xfa/fxfa/fm2js | |
parent | cd933f8633e95e1a6e6a885d30447835ca664f69 (diff) | |
download | pdfium-25d2ad482399ec20fdd0542d7c286ed06842f053.tar.xz |
Tighten up XFA Visibility
This Cl changes the protected sections to be private where possible
in XFA.
Change-Id: Ibeb6ad00389686b666b1c3c5e136b9eefe35ec9e
Reviewed-on: https://pdfium-review.googlesource.com/3164
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/fm2js')
-rw-r--r-- | xfa/fxfa/fm2js/xfa_expression.h | 2 | ||||
-rw-r--r-- | xfa/fxfa/fm2js/xfa_lexer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/fm2js/xfa_expression.h b/xfa/fxfa/fm2js/xfa_expression.h index 6b55ea5815..9177c305d2 100644 --- a/xfa/fxfa/fm2js/xfa_expression.h +++ b/xfa/fxfa/fm2js/xfa_expression.h @@ -33,7 +33,7 @@ class CXFA_FMExpression { uint32_t GetLine() { return m_line; } XFA_FM_EXPTYPE GetExpType() const { return m_type; } - protected: + private: XFA_FM_EXPTYPE m_type; uint32_t m_line; }; diff --git a/xfa/fxfa/fm2js/xfa_lexer.h b/xfa/fxfa/fm2js/xfa_lexer.h index aa7904cfb3..860c50f30a 100644 --- a/xfa/fxfa/fm2js/xfa_lexer.h +++ b/xfa/fxfa/fm2js/xfa_lexer.h @@ -122,7 +122,7 @@ class CXFA_FMLexer { void Error(const wchar_t* msg, ...); bool HasError() const; - protected: + private: CXFA_FMToken* Scan(); const wchar_t* m_ptr; |