Backed out changeset 793589a533f1 (bug 1206165)
authorWes Kocher <wkocher@mozilla.com>
Mon, 21 Sep 2015 13:11:53 -0700
changeset 296111 ecf66181845e3c6baad49ded18203ddd68ec003d
parent 296110 15c5205c623f27ac030e71a096f0a9bf892b4003
child 296112 701a59dcfa76cf47afe26db441ac92f23e3e7f0b
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1206165
milestone43.0a2
backs out793589a533f18c10e11fc3f8541d592e6490ddc6
Backed out changeset 793589a533f1 (bug 1206165)
accessible/generic/DocAccessible.cpp
--- a/accessible/generic/DocAccessible.cpp
+++ b/accessible/generic/DocAccessible.cpp
@@ -2053,17 +2053,17 @@ DocAccessible::UpdateTreeInternal(Access
 void
 DocAccessible::ValidateARIAOwned()
 {
   for (auto it = mARIAOwnsHash.Iter(); !it.Done(); it.Next()) {
     nsTArray<nsIContent*>* childEls = it.UserData();
     for (uint32_t idx = 0; idx < childEls->Length(); idx++) {
       nsIContent* childEl = childEls->ElementAt(idx);
       Accessible* child = GetAccessible(childEl);
-      if (child && child->IsInDocument() && !child->GetFrame()) {
+      if (child && !child->GetFrame()) {
         UpdateTreeOnRemoval(child->Parent(), childEl);
       }
     }
   }
 }
 
 void
 DocAccessible::CacheChildrenInSubtree(Accessible* aRoot,