diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-06 14:58:14 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-06 14:58:14 -0800 |
commit | ab5537db5f9f52f19dea03850512fd6b10bdcd84 (patch) | |
tree | a7da1e232e8abb9a0593c28fad91a34edf910147 /fpdfsdk/include/pdfwindow | |
parent | 0aa3531a87dde44ffd90416f6d621b1828edaf22 (diff) | |
download | pdfium-ab5537db5f9f52f19dea03850512fd6b10bdcd84.tar.xz |
Invalidate IPWL_FocusHandler and IPWL_Provider on destruction.
BUG=572871
TBR=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1564773003 .
(cherry picked from commit dcac57bc8b64fdc870d79d11a498ae7021cf8ae7)
Review URL: https://codereview.chromium.org/1569663002 .
Diffstat (limited to 'fpdfsdk/include/pdfwindow')
-rw-r--r-- | fpdfsdk/include/pdfwindow/PWL_Wnd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/include/pdfwindow/PWL_Wnd.h b/fpdfsdk/include/pdfwindow/PWL_Wnd.h index 91baafa03d..0ea48b570d 100644 --- a/fpdfsdk/include/pdfwindow/PWL_Wnd.h +++ b/fpdfsdk/include/pdfwindow/PWL_Wnd.h @@ -288,6 +288,8 @@ class CPWL_Wnd : public CPWL_TimerHandler { void Create(const PWL_CREATEPARAM& cp); virtual CFX_ByteString GetClassName() const; + void InvalidateFocusHandler(IPWL_FocusHandler* handler); + void InvalidateProvider(IPWL_Provider* provider); void Destroy(); void Move(const CPDF_Rect& rcNew, FX_BOOL bReset, FX_BOOL bRefresh); virtual void InvalidateRect(CPDF_Rect* pRect = NULL); |