tor-browser

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

commit 8aab9af3ce53b438bd95671b7427f555833d9565
parent c9eff182af092e92aeccbd00b925af6cbde8a99f
Author: Martin Stransky <stransky@redhat.com>
Date:   Fri, 14 Nov 2025 08:15:40 +0000

Bug 1997559 [Wayland] Release buffers on NativeLayerWayland::Unmap() r=emilio

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

Diffstat:
Mgfx/layers/NativeLayerWayland.cpp | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/gfx/layers/NativeLayerWayland.cpp b/gfx/layers/NativeLayerWayland.cpp @@ -947,6 +947,7 @@ void NativeLayerWayland::Unmap() { mState.mMutatedVisibility = true; mState.mIsRendered = false; mState.mIsVisible = false; + DiscardBackbuffersLocked(surfaceLock); mNeedsMainThreadUpdate = MainThreadUpdate::Unmap; }