зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1321936: Check whether new child docs are defunct before doing IPC binding; r=tbsaunde
MozReview-Commit-ID: 2kX991JncyV
This commit is contained in:
Родитель
90075801ac
Коммит
1b06d6cc17
|
@ -842,6 +842,10 @@ NotificationController::WillRefresh(mozilla::TimeStamp aTime)
|
|||
size_t newDocCount = newChildDocs.Length();
|
||||
for (size_t i = 0; i < newDocCount; i++) {
|
||||
DocAccessible* childDoc = newChildDocs[i];
|
||||
if (childDoc->IsDefunct()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Accessible* parent = childDoc->Parent();
|
||||
DocAccessibleChild* parentIPCDoc = mDocument->IPCDoc();
|
||||
uint64_t id = reinterpret_cast<uintptr_t>(parent->UniqueID());
|
||||
|
|
Загрузка…
Ссылка в новой задаче