diff options
author | Tom Sepez <tsepez@chromium.org> | 2017-04-18 11:45:36 -0700 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-18 19:19:22 +0000 |
commit | 1d52d1e5fb0b14782dd6b97eeee8c90106839452 (patch) | |
tree | 66f794d6559c0bd2ddd4dab2272ceabf01426fdc /xfa/fwl/cfwl_eventtarget.cpp | |
parent | a77572303624a9ba9877f432bcb6ee2a16b9b34e (diff) | |
download | pdfium-1d52d1e5fb0b14782dd6b97eeee8c90106839452.tar.xz |
Use unique_ptr in CFWL_NoteDriver::m_eventTargets map
Invert CFWL_EventTarget::m_bInvalid for the sake of
positive logic.
Change-Id: I9ccc512ab2ff553e1033698f36bf3a297c4ee7c9
Reviewed-on: https://pdfium-review.googlesource.com/4251
Commit-Queue: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_eventtarget.cpp')
-rw-r--r-- | xfa/fwl/cfwl_eventtarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/cfwl_eventtarget.cpp b/xfa/fwl/cfwl_eventtarget.cpp index 55f8e1fc78..8a3b78799b 100644 --- a/xfa/fwl/cfwl_eventtarget.cpp +++ b/xfa/fwl/cfwl_eventtarget.cpp @@ -10,7 +10,7 @@ #include "xfa/fwl/ifwl_widgetdelegate.h" CFWL_EventTarget::CFWL_EventTarget(CFWL_Widget* pListener) - : m_pListener(pListener), m_bInvalid(false) {} + : m_pListener(pListener), m_bValid(true) {} CFWL_EventTarget::~CFWL_EventTarget() {} |