Bug 1397426 - Rename TabChild's notion of "active tabs" to "visible tabs" and move logic into renderLayers. r=billm

MozReview-Commit-ID: 1bBNwew7uCk
This commit is contained in:
Mike Conley
2017-11-03 11:27:29 -04:00
parent c876c19ca0
commit c41f6d596f
6 changed files with 46 additions and 58 deletions

View File

@@ -5824,10 +5824,6 @@ nsDocShell::SetIsActive(bool aIsActive)
// Keep track ourselves.
mIsActive = aIsActive;
if (TabChild* tc = TabChild::GetFrom(this)) {
tc->OnDocShellActivated(aIsActive);
}
// Clear prerender flag if necessary.
if (mIsPrerendered && aIsActive) {
MOZ_ASSERT(mPrerenderGlobalHistory.get());