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