tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit c46cca14e8062874f1f1c76ef9e6e479c9fbbbed
parent 36a0e6a17e58a21485c531bd5173e8cba23f85d2
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date:   Mon, 29 Dec 2025 17:17:48 +0000

Bug 2007890 - Remove unneeded pref check in DidDoReflow. r=layout-reviewers,boris

The first thing SynthesizeMouseMove does is check the pref and bail out
if false.

Differential Revision: https://phabricator.services.mozilla.com/D277584

Diffstat:
Mlayout/base/PresShell.cpp | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/layout/base/PresShell.cpp b/layout/base/PresShell.cpp @@ -10372,9 +10372,7 @@ void PresShell::DidDoReflow(bool aInterruptible) { docShell->NotifyReflowObservers(aInterruptible, mLastReflowStart, now); } - if (StaticPrefs::layout_reflow_synthMouseMove()) { - SynthesizeMouseMove(false); - } + SynthesizeMouseMove(false); mPresContext->NotifyMissingFonts(); }