Index: Source/modules/accessibility/AXTableRow.cpp |
diff --git a/Source/modules/accessibility/AXTableRow.cpp b/Source/modules/accessibility/AXTableRow.cpp |
index 32a4e7f9cb3cb0878b0157be18b679009bc9d12c..35922fdd898d8953d9f385f7e82f96ac4c15aaca 100644 |
--- a/Source/modules/accessibility/AXTableRow.cpp |
+++ b/Source/modules/accessibility/AXTableRow.cpp |
@@ -56,11 +56,8 @@ AccessibilityRole AXTableRow::determineAccessibilityRole() |
if (!isTableRow()) |
return AXRenderObject::determineAccessibilityRole(); |
- m_ariaRole = determineAriaRoleAttribute(); |
- |
- AccessibilityRole ariaRole = ariaRoleAttribute(); |
- if (ariaRole != UnknownRole) |
- return ariaRole; |
+ if ((m_ariaRole = determineAriaRoleAttribute()) != UnknownRole) |
+ return m_ariaRole; |
return RowRole; |
} |