summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_notedriver.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/cfwl_notedriver.h')
-rw-r--r--xfa/fwl/cfwl_notedriver.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/xfa/fwl/cfwl_notedriver.h b/xfa/fwl/cfwl_notedriver.h
index e177494ff1..2ea3f97cc0 100644
--- a/xfa/fwl/cfwl_notedriver.h
+++ b/xfa/fwl/cfwl_notedriver.h
@@ -30,7 +30,7 @@ class CFWL_NoteDriver {
void RegisterEventTarget(CFWL_Widget* pListener, CFWL_Widget* pEventSource);
void UnregisterEventTarget(CFWL_Widget* pListener);
- void ClearEventTargets(bool bRemoveAll);
+ void ClearEventTargets();
CFWL_NoteLoop* GetTopLoop() const;
void PushNoteLoop(CFWL_NoteLoop* pNoteLoop);
@@ -69,7 +69,8 @@ class CFWL_NoteDriver {
std::vector<CFWL_Widget*> m_Forms;
std::deque<std::unique_ptr<CFWL_Message>> m_NoteQueue;
std::vector<CFWL_NoteLoop*> m_NoteLoopQueue;
- std::unordered_map<uint32_t, CFWL_EventTarget*> m_eventTargets;
+ std::unordered_map<uint32_t, std::unique_ptr<CFWL_EventTarget>>
+ m_eventTargets;
CFWL_Widget* m_pHover;
CFWL_Widget* m_pFocus;
CFWL_Widget* m_pGrab;