summaryrefslogtreecommitdiff
path: root/dom/html/nsTextEditorState.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/nsTextEditorState.h')
-rw-r--r--dom/html/nsTextEditorState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/nsTextEditorState.h b/dom/html/nsTextEditorState.h
index 5abc88d44e..a5d2482387 100644
--- a/dom/html/nsTextEditorState.h
+++ b/dom/html/nsTextEditorState.h
@@ -154,7 +154,7 @@ public:
// Whether the value change should be notified to the frame/contet nor not.
eSetValue_Notify = 1 << 2
};
- MOZ_MUST_USE bool SetValue(const nsAString& aValue, uint32_t aFlags);
+ [[nodiscard]] bool SetValue(const nsAString& aValue, uint32_t aFlags);
void GetValue(nsAString& aValue, bool aIgnoreWrap) const;
bool HasNonEmptyValue();
// The following methods are for textarea element to use whether default