| Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| index 59ea565b1101fbca4451f940cda413a70e1f2c12..a1ad16265753f22fc8eeedc0e241021f4cdd1259 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.cpp
|
| @@ -196,6 +196,9 @@ void SVGLayoutSupport::computeContainerBoundingBoxes(const LayoutObject* contain
|
| if (current->isSVGShape() && toLayoutSVGShape(current)->isShapeEmpty())
|
| continue;
|
|
|
| + if (current->isSVGText() && !toLayoutSVGText(current)->isObjectBoundingBoxValid())
|
| + continue;
|
| +
|
| const AffineTransform& transform = current->localToParentTransform();
|
| updateObjectBoundingBox(objectBoundingBox, objectBoundingBoxValid, current,
|
| transform.mapRect(current->objectBoundingBox()));
|
|
|