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

Unified Diff: Source/core/accessibility/AccessibilityARIAGridCell.cpp

Issue 24752002: Cleanup <static_cast>: Switch to toFoo for Accessibility Objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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: Source/core/accessibility/AccessibilityARIAGridCell.cpp
diff --git a/Source/core/accessibility/AccessibilityARIAGridCell.cpp b/Source/core/accessibility/AccessibilityARIAGridCell.cpp
index c2c17a238519083b331a5bf29d91470cfbe2c0f7..395194c8393e179030c2fa124b2f564687635896 100644
--- a/Source/core/accessibility/AccessibilityARIAGridCell.cpp
+++ b/Source/core/accessibility/AccessibilityARIAGridCell.cpp
@@ -77,7 +77,7 @@ void AccessibilityARIAGridCell::rowIndexRange(pair<unsigned, unsigned>& rowRange
if (parent->isTableRow()) {
// We already got a table row, use its API.
- rowRange.first = static_cast<AccessibilityTableRow*>(parent)->rowIndex();
+ rowRange.first = toAccessibilityTableRow(parent)->rowIndex();
} else if (parent->isAccessibilityTable()) {
// We reached the parent table, so we need to inspect its
// children to determine the row index for the cell in it.
« no previous file with comments | « Source/core/accessibility/AccessibilityARIAGrid.cpp ('k') | Source/core/accessibility/AccessibilityImageMapLink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698