Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: trunk/src/content/browser/accessibility/dump_accessibility_tree_browsertest.cc

Issue 408663006: Revert 284065 "Revert of Revert of Migrate accessibility from Re..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
===================================================================
--- trunk/src/content/browser/accessibility/dump_accessibility_tree_browsertest.cc (revision 284469)
+++ trunk/src/content/browser/accessibility/dump_accessibility_tree_browsertest.cc (working copy)
@@ -19,7 +19,6 @@
#include "content/browser/accessibility/browser_accessibility_manager.h"
#include "content/browser/renderer_host/render_view_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_view_base.h"
-#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_paths.h"
#include "content/public/common/content_switches.h"
@@ -182,10 +181,10 @@
NavigateToURL(shell(), url);
waiter.WaitForNotification();
- WebContentsImpl* web_contents = static_cast<WebContentsImpl*>(
- shell()->web_contents());
+ RenderWidgetHostViewBase* host_view = static_cast<RenderWidgetHostViewBase*>(
+ shell()->web_contents()->GetRenderWidgetHostView());
AccessibilityTreeFormatter formatter(
- web_contents->GetRootBrowserAccessibilityManager()->GetRoot());
+ host_view->GetBrowserAccessibilityManager()->GetRoot());
// Parse filters in the test file.
std::vector<Filter> filters;

Powered by Google App Engine
This is Rietveld 408576698