Bug 1479277 - Don't try to send APZ messages after teardown. r=botond

MozReview-Commit-ID: 8l0h197hfTj

--HG--
extra : rebase_source : a65b07f66a05b9ec54aa859fa0d9384061332120
This commit is contained in:
Kartikaya Gupta 2018-07-30 10:00:34 -04:00
Родитель 7c754d1621
Коммит a17fda2acb
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -532,7 +532,7 @@ TabChild::DoUpdateZoomConstraints(const uint32_t& aPresShellId,
const ViewID& aViewId,
const Maybe<ZoomConstraints>& aConstraints)
{
if (!mApzcTreeManager) {
if (!mApzcTreeManager || mDestroyed) {
return false;
}