Index: content/browser/accessibility/accessibility_ui.cc |
diff --git a/content/browser/accessibility/accessibility_ui.cc b/content/browser/accessibility/accessibility_ui.cc |
index a8a5d97ad3ef62bb594ccc8cc7ea395fcb373f80..3bfa6ee62b2bf4c2fd9583cdc318fd4db989dbba 100644 |
--- a/content/browser/accessibility/accessibility_ui.cc |
+++ b/content/browser/accessibility/accessibility_ui.cc |
@@ -66,7 +66,7 @@ base::DictionaryValue* BuildTargetDescriptor( |
base::DictionaryValue* BuildTargetDescriptor(RenderViewHost* rvh) { |
WebContentsImpl* web_contents = static_cast<WebContentsImpl*>( |
WebContents::FromRenderViewHost(rvh)); |
- AccessibilityMode accessibility_mode = web_contents->GetAccessibilityMode(); |
+ AccessibilityMode accessibility_mode = AccessibilityModeOff; |
std::string title; |
GURL url; |
@@ -80,6 +80,7 @@ base::DictionaryValue* BuildTargetDescriptor(RenderViewHost* rvh) { |
NavigationEntry* entry = controller.GetVisibleEntry(); |
if (entry != NULL && entry->GetURL().is_valid()) |
favicon_url = entry->GetFavicon().url; |
+ accessibility_mode = web_contents->GetAccessibilityMode(); |
} |
return BuildTargetDescriptor(url, |