commit 016fd8b67add34175acc53f160f82c39fd0a4936
parent e9934647fe3859981cae7d392c87ede2de2fe75c
Author: Markus Stange <mstange.moz@gmail.com>
Date: Thu, 2 Oct 2025 20:49:11 +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:
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);
}