summaryrefslogtreecommitdiff
path: root/netwerk/ipc/NeckoParent.h
diff options
context:
space:
mode:
Diffstat (limited to 'netwerk/ipc/NeckoParent.h')
-rw-r--r--netwerk/ipc/NeckoParent.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/netwerk/ipc/NeckoParent.h b/netwerk/ipc/NeckoParent.h
index fe1d77e482..068e96d499 100644
--- a/netwerk/ipc/NeckoParent.h
+++ b/netwerk/ipc/NeckoParent.h
@@ -32,8 +32,7 @@ public:
NeckoParent();
virtual ~NeckoParent();
- MOZ_MUST_USE
- static const char *
+ [[nodiscard]] static const char*
GetValidatedOriginAttributes(const SerializedLoadContext& aSerialized,
PContentParent* aBrowser,
nsIPrincipal* aRequestingPrincipal,
@@ -46,8 +45,7 @@ public:
*
* Returns null if successful, or an error string if failed.
*/
- MOZ_MUST_USE
- static const char*
+ [[nodiscard]] static const char*
CreateChannelLoadContext(const PBrowserOrId& aBrowser,
PContentParent* aContent,
const SerializedLoadContext& aSerialized,