From 4d2bc59c6c1db6ddb09c143831430a36a33d6e1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Otto=20L=C3=A4nd?= Date: Wed, 15 Jan 2025 19:42:07 +0000 Subject: [PATCH] Bug 1940938: apply code formatting via Lando # ignore-this-changeset --- layout/generic/ReflowOutput.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layout/generic/ReflowOutput.cpp b/layout/generic/ReflowOutput.cpp index e166d4dafe16..1e192f2d0c95 100644 --- a/layout/generic/ReflowOutput.cpp +++ b/layout/generic/ReflowOutput.cpp @@ -14,8 +14,9 @@ namespace mozilla { static bool IsValidOverflowRect(const nsRect& aRect) { // The reason we can't simply use `nsRect::IsEmpty` is that any one dimension - // being zero is considered empty by it - On the other hand, an overflow rect is - // valid if it has non-negative dimensions and at least one of them is non-zero. + // being zero is considered empty by it - On the other hand, an overflow rect + // is valid if it has non-negative dimensions and at least one of them is + // non-zero. return aRect.Size() != nsSize{0, 0} && aRect.Width() >= 0 && aRect.Height() >= 0; }