From fe32930e226f5ab545c2f226a90b8106feeece84 Mon Sep 17 00:00:00 2001 From: Mirko Brodesser Date: Mon, 11 Jan 2021 15:09:52 +0000 Subject: [PATCH] Bug 1685303: part 6) Add verbose logging to `AccessibleCaretManager::SelectWord`. r=smaug Differential Revision: https://phabricator.services.mozilla.com/D101356 --- layout/base/AccessibleCaretManager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layout/base/AccessibleCaretManager.cpp b/layout/base/AccessibleCaretManager.cpp index e169f498f7f2..a83febe27375 100644 --- a/layout/base/AccessibleCaretManager.cpp +++ b/layout/base/AccessibleCaretManager.cpp @@ -892,6 +892,8 @@ void AccessibleCaretManager::ChangeFocusToOrClearOldFocus( nsresult AccessibleCaretManager::SelectWord(nsIFrame* aFrame, const nsPoint& aPoint) const { + AC_LOGV("%s", __FUNCTION__); + SetSelectionDragState(true); nsresult rs = aFrame->SelectByTypeAtPoint( mPresShell->GetPresContext(), aPoint, eSelectWord, eSelectWord, 0); -- 2.11.4.GIT