Bug 1928734: apply code formatting via Lando

# ignore-this-changeset
This commit is contained in:
Otto Länd
2024-11-19 18:37:47 +00:00
parent 7d9829fbec
commit c253bca53c
2 changed files with 4 additions and 5 deletions

View File

@@ -162,10 +162,9 @@ bool NodeController::SendUserMessage(const PortRef& aPort,
return false; return false;
} }
auto NodeController::SerializeEventMessage(UniquePtr<Event> aEvent, auto NodeController::SerializeEventMessage(
const NodeName* aRelayTarget, UniquePtr<Event> aEvent, const NodeName* aRelayTarget,
uint32_t aType) uint32_t aType) -> UniquePtr<IPC::Message> {
-> UniquePtr<IPC::Message> {
UniquePtr<IPC::Message> message; UniquePtr<IPC::Message> message;
if (aEvent->type() == Event::kUserMessage) { if (aEvent->type() == Event::kUserMessage) {
MOZ_DIAGNOSTIC_ASSERT( MOZ_DIAGNOSTIC_ASSERT(

View File

@@ -56,7 +56,7 @@ class FdWatcher : public MessageLoopForIO::Watcher, public nsIObserver {
* function is also called when you're at eof (read() returns 0 in this case). * function is also called when you're at eof (read() returns 0 in this case).
*/ */
virtual void OnFileCanReadWithoutBlocking(int aFd) override = 0; virtual void OnFileCanReadWithoutBlocking(int aFd) override = 0;
virtual void OnFileCanWriteWithoutBlocking(int aFd) override{}; virtual void OnFileCanWriteWithoutBlocking(int aFd) override {};
NS_DECL_THREADSAFE_ISUPPORTS NS_DECL_THREADSAFE_ISUPPORTS