summaryrefslogtreecommitdiffstats
path: root/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/accessibility/dump_accessibility_tree_browsertest.cc')
-rw-r--r--content/browser/accessibility/dump_accessibility_tree_browsertest.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/content/browser/accessibility/dump_accessibility_tree_browsertest.cc b/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
index 5a7125c..d47da85 100644
--- a/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
+++ b/content/browser/accessibility/dump_accessibility_tree_browsertest.cc
@@ -89,7 +89,7 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
RenderViewHostImpl* view_host =
static_cast<RenderViewHostImpl*>(RenderWidgetHostImpl::From(host));
view_host->set_save_accessibility_tree_for_testing(true);
- view_host->EnableRendererAccessibility();
+ view_host->SetAccessibilityMode(AccessibilityModeComplete);
// Setup test paths.
FilePath dir_test_data;
@@ -199,4 +199,3 @@ IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
}
} while (!(html_file = file_enumerator.Next()).empty());
}
-