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

Unified Diff: content/browser/accessibility/browser_accessibility_win.cc

Issue 2731973002: Assert when loading websites in windows build (debug mode) (Closed)
Patch Set: Assert when loading websites in windows build (debug mode) Created 3 years, 9 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
« no previous file with comments | « AUTHORS ('k') | content/test/data/accessibility/aria/aria-heading.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility_win.cc
diff --git a/content/browser/accessibility/browser_accessibility_win.cc b/content/browser/accessibility/browser_accessibility_win.cc
index 5ccbc393f5fde58570264115342cbb620ce3c132..a3d6da647db3d8ad3bac51d2e1f8e6130cd42749 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -5456,6 +5456,8 @@ void BrowserAccessibilityWin::InitRoleAndState() {
}
case ui::AX_ROLE_HEADING:
role_name = html_tag;
+ if (html_tag.empty())
+ ia_role = ROLE_SYSTEM_GROUPING;
ia2_role = IA2_ROLE_HEADING;
break;
case ui::AX_ROLE_IFRAME:
« no previous file with comments | « AUTHORS ('k') | content/test/data/accessibility/aria/aria-heading.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698