mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:30:27 +00:00
nsMacShell: Fill in referrerPolicy when saving desktop backgrounds
This commit is contained in:
@@ -202,8 +202,8 @@ nsMacShellService::SetDesktopBackground(nsIDOMElement* aElement,
|
||||
loadContext = do_QueryInterface(docShell);
|
||||
}
|
||||
|
||||
return wbp->SaveURI(imageURI, nullptr, docURI, nullptr, nullptr,
|
||||
mBackgroundFile, loadContext);
|
||||
return wbp->SaveURI(imageURI, nullptr, docURI, content->OwnerDoc()->GetReferrerPolicy(),
|
||||
nullptr, nullptr, mBackgroundFile, loadContext);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
||||
Reference in New Issue
Block a user