summaryrefslogtreecommitdiff
path: root/layout/style/ServoStyleSheet.h
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/ServoStyleSheet.h')
-rw-r--r--layout/style/ServoStyleSheet.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/layout/style/ServoStyleSheet.h b/layout/style/ServoStyleSheet.h
index d32d576746..8c3b888c4d 100644
--- a/layout/style/ServoStyleSheet.h
+++ b/layout/style/ServoStyleSheet.h
@@ -34,11 +34,11 @@ public:
ServoStyleSheet* GetParentSheet() const;
void AppendStyleSheet(ServoStyleSheet* aSheet);
- MOZ_MUST_USE nsresult ParseSheet(const nsAString& aInput,
- nsIURI* aSheetURI,
- nsIURI* aBaseURI,
- nsIPrincipal* aSheetPrincipal,
- uint32_t aLineNumber);
+ [[nodiscard]] nsresult ParseSheet(const nsAString& aInput,
+ nsIURI* aSheetURI,
+ nsIURI* aBaseURI,
+ nsIPrincipal* aSheetPrincipal,
+ uint32_t aLineNumber);
/**
* Called instead of ParseSheet to initialize the Servo stylesheet object