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