Index: third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp |
diff --git a/third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp b/third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp |
index 15e9451dcbe043f359b13075cbbbfa65239cbe54..3cc9cb6ea2dcfde3c8607984b0b5b7aa456f1dc8 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp |
+++ b/third_party/WebKit/Source/core/svg/SVGGraphicsElement.cpp |
@@ -60,7 +60,7 @@ AffineTransform SVGGraphicsElement::computeCTM(SVGElement::CTMScope mode, |
SVGGraphicsElement::StyleUpdateStrategy styleUpdateStrategy, const SVGGraphicsElement* ancestor) const |
{ |
if (styleUpdateStrategy == AllowStyleUpdate) |
- document().updateLayoutIgnorePendingStylesheets(); |
+ document().updateStyleAndLayoutIgnorePendingStylesheets(); |
AffineTransform ctm; |
bool done = false; |
@@ -213,7 +213,7 @@ SVGElement* SVGGraphicsElement::farthestViewportElement() const |
FloatRect SVGGraphicsElement::getBBox() |
{ |
- document().updateLayoutIgnorePendingStylesheets(); |
+ document().updateStyleAndLayoutIgnorePendingStylesheets(); |
// FIXME: Eventually we should support getBBox for detached elements. |
if (!layoutObject()) |