diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2018-01-30 21:38:40 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-01-30 21:38:40 +0000 |
commit | 90d9386825b872a0b668eac5dff3e268fa7ad16c (patch) | |
tree | b615bf156a49b6d4b4dc9d4dd1b628967044f0b2 /xfa/fxfa/parser/cxfa_passwordedit.cpp | |
parent | 7311006b16f30da32fed5145e2e1c2c04a5cea41 (diff) | |
download | pdfium-90d9386825b872a0b668eac5dff3e268fa7ad16c.tar.xz |
Shuffle more code out of CXFA_Node
This CL moves more code out of the CXFA_Node class and into specific
subclasses.
Change-Id: Idca36f251431bf7efd4da045aeabf097ab23f0ce
Reviewed-on: https://pdfium-review.googlesource.com/24714
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_passwordedit.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_passwordedit.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_passwordedit.cpp b/xfa/fxfa/parser/cxfa_passwordedit.cpp index 68267af183..6d38c344fe 100644 --- a/xfa/fxfa/parser/cxfa_passwordedit.cpp +++ b/xfa/fxfa/parser/cxfa_passwordedit.cpp @@ -43,3 +43,7 @@ CXFA_PasswordEdit::~CXFA_PasswordEdit() {} XFA_FFWidgetType CXFA_PasswordEdit::GetDefaultFFWidgetType() const { return XFA_FFWidgetType::kPasswordEdit; } + +WideString CXFA_PasswordEdit::GetPasswordChar() { + return JSObject()->GetCData(XFA_Attribute::PasswordChar); +} |