summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_datetimepicker.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-02 16:44:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-02 16:44:02 +0000
commite353d72449a9298410dc479bf27410d83e56b215 (patch)
tree814ace49b09aeb0ba440550b1b29fbe4af8b6ea6 /xfa/fwl/cfwl_datetimepicker.cpp
parent09646f2d0497eb4cdcf2f3843585faa9264196f4 (diff)
downloadpdfium-e353d72449a9298410dc479bf27410d83e56b215.tar.xz
Use UnownedPtr<> in cfwl_event.h and cfwl_message.h
Change-Id: I1981eb23006db203e845e954a7847cfa992d5e03 Reviewed-on: https://pdfium-review.googlesource.com/36710 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_datetimepicker.cpp')
-rw-r--r--xfa/fwl/cfwl_datetimepicker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fwl/cfwl_datetimepicker.cpp b/xfa/fwl/cfwl_datetimepicker.cpp
index f5afbf6eaa..8c37e1dbe8 100644
--- a/xfa/fwl/cfwl_datetimepicker.cpp
+++ b/xfa/fwl/cfwl_datetimepicker.cpp
@@ -395,7 +395,7 @@ void CFWL_DateTimePicker::OnFocusChanged(CFWL_Message* pMsg, bool bSet) {
m_pProperties->m_rtWidget.height - 1);
}
rtInvalidate = m_rtBtn;
- pMsg->m_pDstTarget = m_pEdit.get();
+ pMsg->SetDstTarget(m_pEdit.get());
m_pEdit->GetDelegate()->OnProcessMessage(pMsg);
} else {
m_pProperties->m_dwStates &= ~FWL_WGTSTATE_Focused;
@@ -404,7 +404,7 @@ void CFWL_DateTimePicker::OnFocusChanged(CFWL_Message* pMsg, bool bSet) {
if (IsMonthCalendarVisible())
ShowMonthCalendar(false);
if (m_pEdit->GetStates() & FWL_WGTSTATE_Focused) {
- pMsg->m_pSrcTarget = m_pEdit.get();
+ pMsg->SetSrcTarget(m_pEdit.get());
m_pEdit->GetDelegate()->OnProcessMessage(pMsg);
}
}