diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-07 18:33:30 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-07 18:33:30 +0000 |
commit | e0d68541163e34cc61fcb7e7cb9f5a9887f45245 (patch) | |
tree | c037fe5a23025a0358e4b60eed2a2c48e55da07f /xfa/fxfa/parser/cxfa_widgetdata.cpp | |
parent | e1ffa59d93e40a783107c0cf847b387741b96d48 (diff) | |
download | pdfium-e0d68541163e34cc61fcb7e7cb9f5a9887f45245.tar.xz |
Rename CXFA_Bind to CXFA_BindData
This CL renames CXFA_Bind to CXFA_BindData to make it clear it's part of
the Data hierarchy.
Change-Id: I9e2ac65d5412f2ffd7abf77ff35deff53f8bb970
Reviewed-on: https://pdfium-review.googlesource.com/17973
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_widgetdata.cpp')
-rw-r--r-- | xfa/fxfa/parser/cxfa_widgetdata.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xfa/fxfa/parser/cxfa_widgetdata.cpp b/xfa/fxfa/parser/cxfa_widgetdata.cpp index e5734ef156..75de937944 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.cpp +++ b/xfa/fxfa/parser/cxfa_widgetdata.cpp @@ -353,8 +353,9 @@ CXFA_Validate CXFA_WidgetData::GetValidate(bool bModified) { m_pNode->JSNode()->GetProperty(0, XFA_Element::Validate, bModified)); } -CXFA_Bind CXFA_WidgetData::GetBind() { - return CXFA_Bind(m_pNode->JSNode()->GetProperty(0, XFA_Element::Bind, false)); +CXFA_BindData CXFA_WidgetData::GetBindData() { + return CXFA_BindData( + m_pNode->JSNode()->GetProperty(0, XFA_Element::Bind, false)); } CXFA_AssistData CXFA_WidgetData::GetAssistData() { @@ -1577,8 +1578,9 @@ bool CXFA_WidgetData::GetPictureContent(WideString& wsPicture, return true; } case XFA_VALUEPICTURE_DataBind: { - if (CXFA_Bind bind = GetBind()) { - bind.GetPicture(wsPicture); + CXFA_BindData bindData = GetBindData(); + if (bindData) { + bindData.GetPicture(wsPicture); return true; } break; |