diff options
Diffstat (limited to 'dom/base/nsIDocument.h')
-rw-r--r-- | dom/base/nsIDocument.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/base/nsIDocument.h b/dom/base/nsIDocument.h index 6ae4eb4f55..174bc4cdd9 100644 --- a/dom/base/nsIDocument.h +++ b/dom/base/nsIDocument.h @@ -2513,8 +2513,8 @@ public: mozilla::ErrorResult& rv); virtual mozilla::dom::DOMImplementation* GetImplementation(mozilla::ErrorResult& rv) = 0; - MOZ_MUST_USE nsresult GetURL(nsString& retval) const; - MOZ_MUST_USE nsresult GetDocumentURI(nsString& retval) const; + [[nodiscard]] nsresult GetURL(nsString& retval) const; + [[nodiscard]] nsresult GetDocumentURI(nsString& retval) const; // Return the URI for the document. // The returned value may differ if the document is loaded via XHR, and // when accessed from chrome privileged script and |