Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index 7121a48b238344a62224d4065e1a23f2a2f4aa4f..dd15c93bec5bf6eb0b538c29ad102297e16e6623 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -935,7 +935,7 @@ void RenderWidgetHostImpl::StopHangMonitorTimeout() { |
} |
void RenderWidgetHostImpl::EnableFullAccessibilityMode() { |
- SetAccessibilityMode(AccessibilityModeComplete); |
+ SetAccessibilityMode(accessibility_mode_ | AccessibilityModeComplete); |
} |
void RenderWidgetHostImpl::ForwardMouseEvent(const WebMouseEvent& mouse_event) { |
@@ -2145,7 +2145,7 @@ void RenderWidgetHostImpl::SetEditCommandsForNextKeyEvent( |
Send(new InputMsg_SetEditCommandsForNextKeyEvent(GetRoutingID(), commands)); |
} |
-void RenderWidgetHostImpl::SetAccessibilityMode(AccessibilityMode mode) { |
+void RenderWidgetHostImpl::SetAccessibilityMode(unsigned int mode) { |
accessibility_mode_ = mode; |
Send(new ViewMsg_SetAccessibilityMode(GetRoutingID(), mode)); |
} |