summaryrefslogtreecommitdiff
path: root/dom/base/nsContentAreaDragDrop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/nsContentAreaDragDrop.cpp')
-rw-r--r--dom/base/nsContentAreaDragDrop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/nsContentAreaDragDrop.cpp b/dom/base/nsContentAreaDragDrop.cpp
index 1734ab378d..49aeb2a774 100644
--- a/dom/base/nsContentAreaDragDrop.cpp
+++ b/dom/base/nsContentAreaDragDrop.cpp
@@ -84,7 +84,7 @@ private:
nsIContent **outImageOrLinkNode,
bool* outDragSelectedText);
static already_AddRefed<nsIContent> FindParentLinkNode(nsIContent* inNode);
- static MOZ_MUST_USE nsresult
+ static [[nodiscard]] nsresult
GetAnchorURL(nsIContent* inNode, nsAString& outURL);
static void GetNodeString(nsIContent* inNode, nsAString & outNodeString);
static void CreateLinkText(const nsAString& inURL, const nsAString & inText,