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

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

Issue 2731973002: Assert when loading websites in windows build (debug mode) (Closed)
Patch Set: 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 | « no previous file | no next file » | 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..91202d07baa7fad2f95ffc6ba46da0b77ccd2da3 100644
--- a/content/browser/accessibility/browser_accessibility_win.cc
+++ b/content/browser/accessibility/browser_accessibility_win.cc
@@ -5450,12 +5450,14 @@ void BrowserAccessibilityWin::InitRoleAndState() {
role_name = L"div";
else
role_name = html_tag;
+ ia_role = ROLE_SYSTEM_GROUPING;
dmazzoni 2017/03/10 21:35:23 This one shouldn't be needed because the role_name
josyula 2017/03/11 05:38:17 Ok.
ia2_role = IA2_ROLE_SECTION;
}
break;
}
case ui::AX_ROLE_HEADING:
role_name = html_tag;
+ ia_role = ROLE_SYSTEM_GROUPING;
dmazzoni 2017/03/10 21:35:23 How about we do this only if html_tag is empty. N
josyula 2017/03/11 05:38:17 Ok sure. I will incorporate it.
ia2_role = IA2_ROLE_HEADING;
break;
case ui::AX_ROLE_IFRAME:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698