mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 699807 - Don't create runnables for setting the title on unlinked documents. r=smaug.
--HG-- extra : rebase_source : 108acb25caced7dbf4cc93e9afab60f6ebf8a9b6
This commit is contained in:
parent
087de76d53
commit
b3cd9776ea
@ -5245,6 +5245,12 @@ nsDocument::SetTitle(const nsAString& aTitle)
|
||||
void
|
||||
nsDocument::NotifyPossibleTitleChange(bool aBoundTitleElement)
|
||||
{
|
||||
NS_ASSERTION(!mInUnlinkOrDeletion || !aBoundTitleElement,
|
||||
"Setting a title while unlinking or destroying the element?");
|
||||
if (mInUnlinkOrDeletion) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (aBoundTitleElement) {
|
||||
mMayHaveTitleElement = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user