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

Unified Diff: Source/core/accessibility/AccessibilityTableRow.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
« no previous file with comments | « Source/core/accessibility/AccessibilityTableRow.h ('k') | Source/core/platform/Scrollbar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/accessibility/AccessibilityTableRow.cpp
diff --git a/Source/core/accessibility/AccessibilityTableRow.cpp b/Source/core/accessibility/AccessibilityTableRow.cpp
index 89da3f7963f726d03f0c926b7ff3d53a02b5d58f..1d919e0a0720200f66b50b2add1a455a5bd2dd2f 100644
--- a/Source/core/accessibility/AccessibilityTableRow.cpp
+++ b/Source/core/accessibility/AccessibilityTableRow.cpp
@@ -118,7 +118,7 @@ AccessibilityObject* AccessibilityTableRow::headerObject()
if (!cell->isTableCell())
return 0;
- RenderObject* cellRenderer = static_cast<AccessibilityTableCell*>(cell)->renderer();
+ RenderObject* cellRenderer = toAccessibilityTableCell(cell)->renderer();
if (!cellRenderer)
return 0;
« no previous file with comments | « Source/core/accessibility/AccessibilityTableRow.h ('k') | Source/core/platform/Scrollbar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698