Index: Source/core/rendering/RenderMenuList.cpp |
diff --git a/Source/core/rendering/RenderMenuList.cpp b/Source/core/rendering/RenderMenuList.cpp |
index ec78a83a0f78f8abddd010f4cfc08f641580f760..f066005771438737ccdbcd3220aec9ffc20c725d 100644 |
--- a/Source/core/rendering/RenderMenuList.cpp |
+++ b/Source/core/rendering/RenderMenuList.cpp |
@@ -34,6 +34,7 @@ |
#include "core/frame/FrameHost.h" |
#include "core/frame/FrameView.h" |
#include "core/frame/LocalFrame.h" |
+#include "core/frame/Settings.h" |
#include "core/html/HTMLOptGroupElement.h" |
#include "core/html/HTMLOptionElement.h" |
#include "core/html/HTMLSelectElement.h" |
@@ -425,7 +426,7 @@ void RenderMenuList::didSetSelectedIndex(int listIndex) |
void RenderMenuList::didUpdateActiveOption(int optionIndex) |
{ |
- if (!AXObjectCache::accessibilityEnabled() || !document().existingAXObjectCache()) |
+ if (!document().existingAXObjectCache()) |
return; |
if (m_lastActiveIndex == optionIndex) |