tor-browser

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

commit d6becde303ba3a92289a8d2fdda37b3e3fe73fa8
parent 9fd68ba1609709b633a118b2a7d84a326b233b56
Author: Markus Stange <mstange.moz@gmail.com>
Date:   Fri,  3 Oct 2025 12:45:25 +0000

Bug 1987007 - Use IOSurfaceRef instead of auto. r=bradwerth

My IDE was showing me squiggles suggesting 'auto*' instead of 'auto'.

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

Diffstat:
Mgfx/layers/NativeLayerRemoteMac.mm | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gfx/layers/NativeLayerRemoteMac.mm b/gfx/layers/NativeLayerRemoteMac.mm @@ -240,7 +240,7 @@ void NativeLayerRemoteMac::FlushDirtyLayerInfoToCommandQueue() { // Get the unique ID for this IOSurfaceRef, which only works // because kIOSurfaceIsGlobal was set to true when this // IOSurface was created. - auto surfaceRef = surfaceWithInvalidRegion->mSurface.get(); + IOSurfaceRef surfaceRef = surfaceWithInvalidRegion->mSurface.get(); surfaceID = IOSurfaceGetID(surfaceRef); }