Index: third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
index 06e448330609ba9b84ea94f31c58c18b53731136..8577d27b879bb731073368583540b5c9d901e0e3 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.cpp |
@@ -676,11 +676,7 @@ bool SVGUseElement::SelfHasRelativeLengths() const { |
} |
FloatRect SVGUseElement::GetBBox() { |
- GetDocument().UpdateStyleAndLayoutIgnorePendingStylesheets(); |
- |
- if (!GetLayoutObject()) |
- return FloatRect(); |
- |
+ DCHECK(GetLayoutObject()); |
LayoutSVGTransformableContainer& transformable_container = |
ToLayoutSVGTransformableContainer(*GetLayoutObject()); |
// Don't apply the additional translation if the oBB is invalid. |