| Index: fpdfsdk/pdfwindow/PWL_Wnd.cpp
|
| diff --git a/fpdfsdk/pdfwindow/PWL_Wnd.cpp b/fpdfsdk/pdfwindow/PWL_Wnd.cpp
|
| index 4a479de0dc18ff9a8aa3cb0e8ec9765b90c6d4d5..4caf6374c83a2c2eb81f2929a8538f235591e227 100644
|
| --- a/fpdfsdk/pdfwindow/PWL_Wnd.cpp
|
| +++ b/fpdfsdk/pdfwindow/PWL_Wnd.cpp
|
| @@ -422,9 +422,8 @@ void CPWL_Wnd::InvalidateRect(CFX_FloatRect* pRect) {
|
| rcWin.bottom += PWL_INVALIDATE_INFLATE;
|
|
|
| if (CFX_SystemHandler* pSH = GetSystemHandler()) {
|
| - if (FX_HWND hWnd = GetAttachedHWnd()) {
|
| - pSH->InvalidateRect(hWnd, rcWin);
|
| - }
|
| + if (CPDFSDK_Widget* widget = m_sPrivateParam.hAttachedWnd)
|
| + pSH->InvalidateRect(widget, rcWin);
|
| }
|
| }
|
| }
|
| @@ -907,10 +906,6 @@ FX_RECT CPWL_Wnd::PWLtoWnd(const CFX_FloatRect& rect) const {
|
| (int32_t)(rcTemp.right + 0.5), (int32_t)(rcTemp.top + 0.5));
|
| }
|
|
|
| -FX_HWND CPWL_Wnd::GetAttachedHWnd() const {
|
| - return m_sPrivateParam.hAttachedWnd;
|
| -}
|
| -
|
| CFX_FloatPoint CPWL_Wnd::ChildToParent(const CFX_FloatPoint& point) const {
|
| CFX_Matrix mt = GetChildMatrix();
|
| if (mt.IsIdentity())
|
|
|