Skip to content

Commit

Permalink
Bug 1950885: apply code formatting via Lando
Browse files Browse the repository at this point in the history
# ignore-this-changeset
  • Loading branch information
Otto Länd committed Feb 28, 2025
1 parent 3f1bb95 commit 3b3c7a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 5 additions & 5 deletions dom/notification/Notification.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ class Notification : public DOMEventTargetHelper, public SupportsWeakPtr {
* 2) The default binding requires main thread for parsing the JSON from the
* string behavior.
*/
static Result<already_AddRefed<Notification>, QMResult> ConstructFromFields(
nsIGlobalObject* aGlobal, const nsAString& aID, const nsAString& aTitle,
const nsAString& aDir, const nsAString& aLang, const nsAString& aBody,
const nsAString& aTag, const nsAString& aIcon, const nsAString& aData,
const nsAString& aServiceWorkerRegistrationScope);
static Result<already_AddRefed<Notification>, QMResult> ConstructFromFields(
nsIGlobalObject* aGlobal, const nsAString& aID, const nsAString& aTitle,
const nsAString& aDir, const nsAString& aLang, const nsAString& aBody,
const nsAString& aTag, const nsAString& aIcon, const nsAString& aData,
const nsAString& aServiceWorkerRegistrationScope);

/**
* Used when retrieving notification objects from the parent process.
Expand Down
7 changes: 3 additions & 4 deletions dom/serviceworkers/ServiceWorkerPrivate.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,9 @@ class ServiceWorkerPrivate final : public RemoteWorkerObserver {
nsresult SendPushSubscriptionChangeEvent(
const RefPtr<nsIPushSubscription>& aOldSubscription);

nsresult SendNotificationEvent(
const nsAString& aEventName, const nsAString& aScope,
const nsAString& aId,
const IPCNotificationOptions& aOptions);
nsresult SendNotificationEvent(const nsAString& aEventName,
const nsAString& aScope, const nsAString& aId,
const IPCNotificationOptions& aOptions);

nsresult SendFetchEvent(nsCOMPtr<nsIInterceptedChannel> aChannel,
nsILoadGroup* aLoadGroup, const nsAString& aClientId,
Expand Down

0 comments on commit 3b3c7a0

Please sign in to comment.