Bug 565388 - No paint for invisible docshell. r=tnikkel
This commit is contained in:
@@ -765,6 +765,7 @@ nsDocShell::nsDocShell():
|
||||
mInEnsureScriptEnv(false),
|
||||
#endif
|
||||
mAffectPrivateSessionLifetime(true),
|
||||
mInvisible(false),
|
||||
mDefaultLoadFlags(nsIRequest::LOAD_NORMAL),
|
||||
mFrameType(eFrameTypeRegular),
|
||||
mOwnOrContainingAppId(nsIScriptSecurityManager::UNKNOWN_APP_ID),
|
||||
@@ -12801,3 +12802,15 @@ nsDocShell::HasUnloadedParent()
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool
|
||||
nsDocShell::IsInvisible()
|
||||
{
|
||||
return mInvisible;
|
||||
}
|
||||
|
||||
void
|
||||
nsDocShell::SetInvisible(bool aInvisible)
|
||||
{
|
||||
mInvisible = aInvisible;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user