1. Virgil Dupras
  2. mozilla-central

Commits

Trevor Saunders  committed 044d1b9 Draft

bug 761901 - fix null check review nit to prevent null deref crashes r=me

  • Participants
  • Parent commits 09e5d52
  • Branches default

Comments (0)

Files changed (1)

File accessible/src/generic/DocAccessible.cpp

View file
  • Ignore whitespace
 
   if (aAttribute == nsGkAtoms::value) {
     Accessible* accessible = GetAccessible(aContent);
-    if(accessible->IsProgress()) {
+    if(accessible && accessible->IsProgress()) {
       FireDelayedAccessibleEvent(nsIAccessibleEvent::EVENT_VALUE_CHANGE,
                                  aContent);
     }