commit 296990a936ac6bef81785c4db345c08323db282d
parent 9acc6af34eb1a547dbedebe679170c24c162bed0
Author: Lando <lando@lando.test>
Date: Wed, 1 Oct 2025 17:12:31 +0000
Bug 1982963: apply code formatting via Lando
# ignore-this-changeset
Diffstat:
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/xpcom/base/AvailableMemoryWatcherLinux.cpp b/xpcom/base/AvailableMemoryWatcherLinux.cpp
@@ -92,8 +92,7 @@ static nsresult ReadPSIFile(const char* aPSIPath, PSIInfo& aResult) {
}
// Check PSI percentage values are in reasonable range (0-100)
- if (aResult.some_avg10 > 100UL ||
- aResult.some_avg60 > 100UL ||
+ if (aResult.some_avg10 > 100UL || aResult.some_avg60 > 100UL ||
aResult.some_avg300 > 100UL) {
return NS_ERROR_FAILURE;
}
@@ -273,8 +272,8 @@ nsAvailableMemoryWatcher::Notify(nsITimer* aTimer) {
return NS_ERROR_FAILURE;
}
bool isTesting = mIsTesting;
- nsresult rv = mThread->Dispatch(
- NS_NewRunnableFunction("MemoryPoller", [self = RefPtr{this}, isTesting]() {
+ nsresult rv = mThread->Dispatch(NS_NewRunnableFunction(
+ "MemoryPoller", [self = RefPtr{this}, isTesting]() {
if (self->IsMemoryLow()) {
self->HandleLowMemory();
} else {