From 066806b1795ac6b6b78d216ddf625fac3d24fb15 Mon Sep 17 00:00:00 2001 From: Aaron Klotz Date: Wed, 6 Sep 2017 10:40:55 -0600 Subject: [PATCH] Bug 1383501: Assert that com proxy is non-null before calling SendPDocAccessibleConstructor; r=yzen MozReview-Commit-ID: CuIXyoe4jsj --- accessible/generic/DocAccessible.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/accessible/generic/DocAccessible.cpp b/accessible/generic/DocAccessible.cpp index 260b039fb73e..432291158a03 100644 --- a/accessible/generic/DocAccessible.cpp +++ b/accessible/generic/DocAccessible.cpp @@ -1503,6 +1503,7 @@ DocAccessible::DoInitialUpdate() #if defined(XP_WIN) IAccessibleHolder holder(CreateHolderFromAccessible(this)); + MOZ_DIAGNOSTIC_ASSERT(!holder.IsNull()); int32_t childID = AccessibleWrap::GetChildIDFor(this); #else int32_t holder = 0, childID = 0;