summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_eventtarget.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-04-18 11:45:36 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-18 19:19:22 +0000
commit1d52d1e5fb0b14782dd6b97eeee8c90106839452 (patch)
tree66f794d6559c0bd2ddd4dab2272ceabf01426fdc /xfa/fwl/cfwl_eventtarget.cpp
parenta77572303624a9ba9877f432bcb6ee2a16b9b34e (diff)
downloadpdfium-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.cpp2
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() {}