From 6f26db4dcbc64cc3602ffe22d1178a1abca83c96 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Mon, 9 Apr 2018 17:18:24 +0000 Subject: Remove m_pOldFocusWidget from CXFA_FFDocView. It can be refactored to a local, then the local can be refactored out too. There should be no functional changes. Change-Id: I4b49cbf27736f856a567db5db952c03aba743818 Reviewed-on: https://pdfium-review.googlesource.com/29911 Commit-Queue: Ryan Harrison Reviewed-by: Ryan Harrison Reviewed-by: Lei Zhang --- xfa/fxfa/cxfa_ffdocview.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xfa/fxfa/cxfa_ffdocview.h') diff --git a/xfa/fxfa/cxfa_ffdocview.h b/xfa/fxfa/cxfa_ffdocview.h index dbc7672caa..2b8358264c 100644 --- a/xfa/fxfa/cxfa_ffdocview.h +++ b/xfa/fxfa/cxfa_ffdocview.h @@ -60,7 +60,7 @@ class CXFA_FFDocView { CXFA_FFWidgetHandler* GetWidgetHandler(); std::unique_ptr CreateReadyNodeIterator(); CXFA_FFWidget* GetFocusWidget() const { return m_pFocusWidget.Get(); } - bool SetFocus(CXFA_FFWidget* hWidget); + bool SetFocus(CXFA_FFWidget* pNewFocus); CXFA_FFWidget* GetWidgetForNode(CXFA_Node* node); CXFA_FFWidget* GetWidgetByName(const WideString& wsName, CXFA_FFWidget* pRefWidget); @@ -118,7 +118,6 @@ class CXFA_FFDocView { CXFA_LayoutProcessor* m_pXFADocLayout = nullptr; // Not owned. UnownedPtr m_pFocusNode; UnownedPtr m_pFocusWidget; - UnownedPtr m_pOldFocusWidget; std::vector m_ValidateNodes; std::vector m_CalculateNodes; std::vector m_BindItems; -- cgit v1.2.3