From 7c2898d1e63bd03aa94536ae59aafcda93b7f045 Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Thu, 29 Oct 2015 14:18:54 -0700 Subject: [PATCH] Bug 1209243 - LoadInfo should use GetScriptableParent rather than GetParent (r=bz) --- netwerk/base/LoadInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netwerk/base/LoadInfo.cpp b/netwerk/base/LoadInfo.cpp index ab4fc15cc40a..a4c5a5347da2 100644 --- a/netwerk/base/LoadInfo.cpp +++ b/netwerk/base/LoadInfo.cpp @@ -74,7 +74,7 @@ LoadInfo::LoadInfo(nsIPrincipal* aLoadingPrincipal, mInnerWindowID = inner ? inner->WindowID() : 0; mOuterWindowID = outerWindow->WindowID(); - nsCOMPtr parent = outerWindow->GetParent(); + nsCOMPtr parent = outerWindow->GetScriptableParent(); mParentOuterWindowID = parent->WindowID(); }