mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Need to call EndObservingDocument before destroy of PresShell
Bug 152536 r=dcone sr=jst
This commit is contained in:
parent
1cf2762705
commit
944a302a29
@ -1044,6 +1044,7 @@ PrintObject::~PrintObject()
|
||||
}
|
||||
|
||||
if (mPresShell && !mSharedPresShell) {
|
||||
mPresShell->EndObservingDocument();
|
||||
mPresShell->Destroy();
|
||||
}
|
||||
|
||||
|
@ -1044,6 +1044,7 @@ PrintObject::~PrintObject()
|
||||
}
|
||||
|
||||
if (mPresShell && !mSharedPresShell) {
|
||||
mPresShell->EndObservingDocument();
|
||||
mPresShell->Destroy();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user