Index: Source/core/svg/SVGLocatable.cpp |
diff --git a/Source/core/svg/SVGLocatable.cpp b/Source/core/svg/SVGLocatable.cpp |
index e8ce64ad54ef9b313796cfa33d46b69491df3bc5..c3354c9e8793a45f975a11f3a169b5e819c16281 100644 |
--- a/Source/core/svg/SVGLocatable.cpp |
+++ b/Source/core/svg/SVGLocatable.cpp |
@@ -65,7 +65,7 @@ SVGRect SVGLocatable::getBBox(SVGElement* element, StyleUpdateStrategy styleUpda |
{ |
ASSERT(element); |
if (styleUpdateStrategy == AllowStyleUpdate) |
- element->document()->updateLayoutIgnorePendingStylesheets(); |
+ element->document().updateLayoutIgnorePendingStylesheets(); |
// FIXME: Eventually we should support getBBox for detached elements. |
if (!element->renderer()) |
@@ -78,7 +78,7 @@ AffineTransform SVGLocatable::computeCTM(SVGElement* element, CTMScope mode, Sty |
{ |
ASSERT(element); |
if (styleUpdateStrategy == AllowStyleUpdate) |
- element->document()->updateLayoutIgnorePendingStylesheets(); |
+ element->document().updateLayoutIgnorePendingStylesheets(); |
AffineTransform ctm; |