[tor-commits] [tor-browser/tor-browser-60.5.0esr-8.5-1] fixup! Bug 1469916, r=ckerschb, jkt

gk at torproject.org gk at torproject.org
Fri Jan 25 16:04:50 UTC 2019


commit 6dde994c6580634bd3cb9809c2eb0e02499e65b7
Author: Georg Koppen <gk at 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);
 }
 



More information about the tor-commits mailing list