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

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

Issue 24253004: Cleanup: Start using toFoo methods as part of newly adopted coding guideline. (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/AccessibilityTableHeaderContainer.cpp
diff --git a/Source/core/accessibility/AccessibilityTableHeaderContainer.cpp b/Source/core/accessibility/AccessibilityTableHeaderContainer.cpp
index 1a1d97207d5b53edffa6e81ce8760e9ebc62a233..ab946f28d2cdfdc52c859766db3d409203409be9 100644
--- a/Source/core/accessibility/AccessibilityTableHeaderContainer.cpp
+++ b/Source/core/accessibility/AccessibilityTableHeaderContainer.cpp
@@ -69,7 +69,7 @@ void AccessibilityTableHeaderContainer::addChildren()
if (!m_parent || !m_parent->isAccessibilityTable())
return;
- static_cast<AccessibilityTable*>(m_parent)->columnHeaders(m_children);
+ toAccessibilityTable(m_parent)->columnHeaders(m_children);
unsigned length = m_children.size();
for (unsigned k = 0; k < length; ++k)
« no previous file with comments | « Source/core/accessibility/AccessibilityRenderObject.cpp ('k') | Source/core/css/StyleInvalidationAnalysis.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698