Backed out changeset 97b356893365 (bug 762939)

This commit is contained in:
Justin Lebar
2012-07-23 15:38:55 -04:00
parent 67bce1451c
commit 3a60b6e051
13 changed files with 5 additions and 345 deletions

View File

@@ -5017,20 +5017,12 @@ nsDocShell::SetIsActive(bool aIsActive)
}
}
// Recursively tell all of our children, but don't tell <iframe mozbrowser>
// children; they handle their state separately.
// Recursively tell all of our children
PRInt32 n = mChildList.Count();
for (PRInt32 i = 0; i < n; ++i) {
nsCOMPtr<nsIDocShell> docshell = do_QueryInterface(ChildAt(i));
if (!docshell) {
continue;
}
bool isContentBoundary = false;
docshell->GetIsContentBoundary(&isContentBoundary);
if (!isContentBoundary) {
docshell->SetIsActive(aIsActive);
}
if (docshell)
docshell->SetIsActive(aIsActive);
}
return NS_OK;