From 286451f90ab0f85e460f97cc278c924b275bd724 Mon Sep 17 00:00:00 2001 From: Alexander Surkov Date: Fri, 26 Feb 2016 10:25:36 -0500 Subject: [PATCH] Bug 1250878 - add acceptable child check for HTML select, r=marcoz --- accessible/html/HTMLSelectAccessible.cpp | 29 +++--------------------- accessible/html/HTMLSelectAccessible.h | 5 +--- 2 files changed, 4 insertions(+), 30 deletions(-) diff --git a/accessible/html/HTMLSelectAccessible.cpp b/accessible/html/HTMLSelectAccessible.cpp index cc13a15b996..a4f2f00ebd3 100644 --- a/accessible/html/HTMLSelectAccessible.cpp +++ b/accessible/html/HTMLSelectAccessible.cpp @@ -114,35 +114,12 @@ HTMLSelectListAccessible::SetCurrentItem(Accessible* aItem) true); } -//////////////////////////////////////////////////////////////////////////////// -// HTMLSelectListAccessible: Accessible protected - -void -HTMLSelectListAccessible::CacheChildren() +bool +HTMLSelectListAccessible::IsAcceptableChild(nsIContent* aEl) const { - // Cache accessibles for and s and