commit 8e23478e0e3ae93c58a9a512679b5b570576f38e
parent a34a997c6f431ae39fd15ef82782f8813a44e50a
Author: Lando <lando@lando.test>
Date: Tue, 7 Oct 2025 17:39:32 +0000
Bug 1987056, 1992515: apply code formatting via Lando
# ignore-this-changeset
Diffstat:
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/gfx/ipc/CanvasShutdownManager.cpp b/gfx/ipc/CanvasShutdownManager.cpp
@@ -16,8 +16,8 @@
namespace mozilla::gfx {
using dom::CanvasRenderingContext2D;
-using dom::WorkerPrivate;
using dom::StrongWorkerRef;
+using dom::WorkerPrivate;
StaticMutex CanvasShutdownManager::sManagersMutex;
MOZ_RUNINIT std::set<CanvasShutdownManager*> CanvasShutdownManager::sManagers;
diff --git a/gfx/layers/ipc/IOSurfacePort.h b/gfx/layers/ipc/IOSurfacePort.h
@@ -19,14 +19,15 @@
//
// It is a separate file for the following reasons:
// - Forward-declaring CFTypeRefPtr<IOSurfaceRef> correctly is tricky.
-// - IOSurfaceRef.h defines global types like "Point" which can interfere with name resolution.
+// - IOSurfaceRef.h defines global types like "Point" which can interfere with
+// name resolution.
// - Smaller header files allow limiting the scope of the name pollution.
namespace mozilla::layers {
// The IPC descriptor for an IOSurface.
-// As long as the port is alive, the IOSurface is automatically marked as "in use",
-// including while the port is in IPC transit.
+// As long as the port is alive, the IOSurface is automatically marked as "in
+// use", including while the port is in IPC transit.
struct IOSurfacePort {
#ifdef XP_DARWIN
UniqueMachSendRight mPort;