[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits