Index: content/browser/renderer_host/render_view_host.cc |
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc |
index f663f6ef2e3cf1def738c7b972df7413587661d2..ab0ce6d23f64f9ee510787c6bb60f74f9ec52da2 100644 |
--- a/content/browser/renderer_host/render_view_host.cc |
+++ b/content/browser/renderer_host/render_view_host.cc |
@@ -1400,13 +1400,12 @@ void RenderViewHost::OnAccessibilityNotifications( |
if (param.notification_type == ViewHostMsg_AccEvent::LOAD_COMPLETE && |
save_accessibility_tree_for_testing_) { |
accessibility_tree_ = param.acc_tree; |
+ content::NotificationService::current()->Notify( |
+ content::NOTIFICATION_RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED, |
+ content::Source<RenderViewHost>(this), |
+ content::NotificationService::NoDetails()); |
} |
} |
- |
- content::NotificationService::current()->Notify( |
- content::NOTIFICATION_RENDER_VIEW_HOST_ACCESSIBILITY_TREE_UPDATED, |
- content::Source<RenderViewHost>(this), |
- content::NotificationService::NoDetails()); |
} |
Send(new ViewMsg_AccessibilityNotifications_ACK(routing_id())); |