diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index 0285215a82e8..4e873326ea41 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -12639,8 +12639,7 @@ OnLinkClickEvent::OnLinkClickEvent( mTriggeringPrincipal(aTriggeringPrincipal), mCsp(aCsp) {} -NS_IMETHODIMP -nsDocShell::OnLinkClick( +nsresult nsDocShell::OnLinkClick( nsIContent* aContent, nsIURI* aURI, const nsAString& aTargetSpec, const nsAString& aFileName, nsIInputStream* aPostDataStream, nsIInputStream* aHeadersDataStream, bool aIsUserTriggered, bool aIsTrusted,