summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/fwl_widgetmgrimp.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-04-18 06:49:02 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-18 06:49:02 -0700
commit7adef41ed27ced7e18ee649a3d4f27a3cc00c51f (patch)
treefff2871099785daa42deff0cd847ba148c0fa1e2 /xfa/fwl/core/fwl_widgetmgrimp.cpp
parent31e446374a7cf3f3353e42a03b6d5297e5cd60ec (diff)
downloadpdfium-7adef41ed27ced7e18ee649a3d4f27a3cc00c51f.tar.xz
Fold the FWL NoteThread classes up to the Thread classes.
The NoteThread classes only contained one member and don't provide any added clarity. This CL moves the NoteDriver up to the Thread classes and removes the NoteThread classes. Review URL: https://codereview.chromium.org/1887703003
Diffstat (limited to 'xfa/fwl/core/fwl_widgetmgrimp.cpp')
-rw-r--r--xfa/fwl/core/fwl_widgetmgrimp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fwl/core/fwl_widgetmgrimp.cpp b/xfa/fwl/core/fwl_widgetmgrimp.cpp
index e0ffd9c7b9..e6ca4091e5 100644
--- a/xfa/fwl/core/fwl_widgetmgrimp.cpp
+++ b/xfa/fwl/core/fwl_widgetmgrimp.cpp
@@ -696,11 +696,11 @@ int32_t CFWL_WidgetMgrDelegate::OnProcessMessageToForm(CFWL_Message* pMessage) {
if (!pMessage->m_pDstTarget)
return 0;
IFWL_Widget* pDstWidget = pMessage->m_pDstTarget;
- IFWL_NoteThread* pNoteThread = pDstWidget->GetOwnerThread();
- if (!pNoteThread)
+ IFWL_Thread* pThread = pDstWidget->GetOwnerThread();
+ if (!pThread)
return 0;
CFWL_NoteDriver* pNoteDriver =
- static_cast<CFWL_NoteDriver*>(pNoteThread->GetNoteDriver());
+ static_cast<CFWL_NoteDriver*>(pThread->GetNoteDriver());
if (!pNoteDriver)
return 0;
if (m_pWidgetMgr->IsThreadEnabled()) {