Bug 1209243 - LoadInfo should use GetScriptableParent rather than GetParent (r=bz)

This commit is contained in:
Bill McCloskey 2015-10-29 14:18:54 -07:00
Родитель e5b08c2286
Коммит 7c2898d1e6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -74,7 +74,7 @@ LoadInfo::LoadInfo(nsIPrincipal* aLoadingPrincipal,
mInnerWindowID = inner ? inner->WindowID() : 0;
mOuterWindowID = outerWindow->WindowID();
nsCOMPtr<nsPIDOMWindow> parent = outerWindow->GetParent();
nsCOMPtr<nsPIDOMWindow> parent = outerWindow->GetScriptableParent();
mParentOuterWindowID = parent->WindowID();
}