| Index: Source/core/rendering/svg/SVGInlineTextBox.h
|
| diff --git a/Source/core/rendering/svg/SVGInlineTextBox.h b/Source/core/rendering/svg/SVGInlineTextBox.h
|
| index bd85d3f49c507afd29e6b396b4ee5be5532ee971..e1549b02ad1d434fdedf5507f0461c7daa2d1dcf 100644
|
| --- a/Source/core/rendering/svg/SVGInlineTextBox.h
|
| +++ b/Source/core/rendering/svg/SVGInlineTextBox.h
|
| @@ -88,11 +88,7 @@ private:
|
| Vector<SVGTextFragment> m_textFragments;
|
| };
|
|
|
| -inline SVGInlineTextBox* toSVGInlineTextBox(InlineBox* box)
|
| -{
|
| - ASSERT_WITH_SECURITY_IMPLICATION(!box || box->isSVGInlineTextBox());
|
| - return static_cast<SVGInlineTextBox*>(box);
|
| -}
|
| +DEFINE_INLINE_BOX_TYPE_CASTS(SVGInlineTextBox);
|
|
|
| } // namespace WebCore
|
|
|
|
|