summaryrefslogtreecommitdiff
path: root/dom/base/nsIContent.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsIContent.h')
-rw-r--r--dom/base/nsIContent.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/dom/base/nsIContent.h b/dom/base/nsIContent.h
index 4d7d76e251..a0d81b9ade 100644
--- a/dom/base/nsIContent.h
+++ b/dom/base/nsIContent.h
@@ -576,8 +576,7 @@ public:
* Append the text content to aResult.
* NOTE: This asserts and returns for elements
*/
- MOZ_MUST_USE
- virtual bool AppendTextTo(nsAString& aResult, const mozilla::fallible_t&) = 0;
+ [[nodiscard]] virtual bool AppendTextTo(nsAString& aResult, const mozilla::fallible_t&) = 0;
/**
* Check if this content is focusable and in the current tab order.