commit 6dde994c6580634bd3cb9809c2eb0e02499e65b7 Author: Georg Koppen gk@torproject.org Date: Fri Jan 25 15:23:49 2019 +0000
fixup! Bug 1469916, r=ckerschb,jkt --- browser/components/shell/nsMacShellService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/browser/components/shell/nsMacShellService.cpp b/browser/components/shell/nsMacShellService.cpp index 3484a41530a7..a24814c0087b 100644 --- a/browser/components/shell/nsMacShellService.cpp +++ b/browser/components/shell/nsMacShellService.cpp @@ -156,8 +156,8 @@ nsMacShellService::SetDesktopBackground(nsIDOMElement* aElement, loadContext = do_QueryInterface(docShell); }
- return wbp->SaveURI(imageURI, aElement->NodePrincipal(), nullptr, docURI, - aElement->OwnerDoc()->GetReferrerPolicy(), nullptr, + return wbp->SaveURI(imageURI, content->NodePrincipal(), nullptr, docURI, + content->OwnerDoc()->GetReferrerPolicy(), nullptr, nullptr, mBackgroundFile, loadContext); }