Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug

MozReview-Commit-ID: DAAm6tLubhJ
This commit is contained in:
Nika Layzell
2017-11-21 18:07:45 -05:00
parent 34556665b3
commit 20ee9a4927
55 changed files with 22 additions and 640 deletions

View File

@@ -3864,7 +3864,6 @@ ItemIsActive(nsIDocShellTreeItem* aItem)
{
if (nsCOMPtr<nsPIDOMWindowOuter> window = aItem->GetWindow()) {
auto* win = nsGlobalWindowOuter::Cast(window);
MOZ_ASSERT(win->IsOuterWindow());
if (!win->GetClosedOuter()) {
return true;
}