| Index: Source/core/accessibility/AXMenuListOption.h
|
| diff --git a/Source/core/accessibility/AXMenuListOption.h b/Source/core/accessibility/AXMenuListOption.h
|
| index 55845ca0b06cfd2a81ccc1249ebbbf097aa7cd6b..8c20d8d30678f49eef210cde72708529aef4018c 100644
|
| --- a/Source/core/accessibility/AXMenuListOption.h
|
| +++ b/Source/core/accessibility/AXMenuListOption.h
|
| @@ -61,20 +61,7 @@ private:
|
| RefPtr<HTMLElement> m_element;
|
| };
|
|
|
| -inline AXMenuListOption* toAXMenuListOption(AXObject* object)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isMenuListOption());
|
| - return static_cast<AXMenuListOption*>(object);
|
| -}
|
| -
|
| -inline const AXMenuListOption* toAXMenuListOption(const AXObject* object)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isMenuListOption());
|
| - return static_cast<const AXMenuListOption*>(object);
|
| -}
|
| -
|
| -// This will catch anyone doing an unnecessary cast.
|
| -void toAXMenuListOption(const AXMenuListOption*);
|
| +DEFINE_AX_OBJECT_TYPE_CASTS(AXMenuListOption, isMenuListOption());
|
|
|
| } // namespace WebCore
|
|
|
|
|