зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1209243 - LoadInfo should use GetScriptableParent rather than GetParent (r=bz)
This commit is contained in:
Родитель
e5b08c2286
Коммит
7c2898d1e6
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче