| Index: Source/core/accessibility/AXTableCell.h
|
| diff --git a/Source/core/accessibility/AXTableCell.h b/Source/core/accessibility/AXTableCell.h
|
| index 509ac64de6b874cb3f9b67e68d236117229887d2..c62d0d32c5ac136b49b42549b31523d170abb730 100644
|
| --- a/Source/core/accessibility/AXTableCell.h
|
| +++ b/Source/core/accessibility/AXTableCell.h
|
| @@ -60,20 +60,7 @@ private:
|
| virtual bool computeAccessibilityIsIgnored() const OVERRIDE;
|
| };
|
|
|
| -inline AXTableCell* toAXTableCell(AXObject* object)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableCell());
|
| - return static_cast<AXTableCell*>(object);
|
| -}
|
| -
|
| -inline const AXTableCell* toAXTableCell(const AXObject* object)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isTableCell());
|
| - return static_cast<const AXTableCell*>(object);
|
| -}
|
| -
|
| -// This will catch anyone doing an unnecessary cast.
|
| -void toAXTableCell(const AXTableCell*);
|
| +DEFINE_AX_OBJECT_TYPE_CASTS(AXTableCell, isTableCell());
|
|
|
| } // namespace WebCore
|
|
|
|
|