| Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| index 49ca3a8d5be6e9f122b066b1aecb50906453c36f..973ba5d3794a2901cd410db73dfbda1a5371133a 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
| @@ -497,6 +497,12 @@ FloatRect LayoutSVGText::paintInvalidationRectInLocalCoordinates() const
|
| return paintInvalidationRect;
|
| }
|
|
|
| +bool LayoutSVGText::isObjectBoundingBoxValid() const
|
| +{
|
| + // If we don't have any line boxes, then consider the bbox invalid.
|
| + return firstLineBox();
|
| +}
|
| +
|
| void LayoutSVGText::addChild(LayoutObject* child, LayoutObject* beforeChild)
|
| {
|
| LayoutSVGBlock::addChild(child, beforeChild);
|
|
|