Index: Source/core/svg/SVGFontFaceElement.cpp |
diff --git a/Source/core/svg/SVGFontFaceElement.cpp b/Source/core/svg/SVGFontFaceElement.cpp |
index 9c77958d73a21c58c53ece74e52952cca11e00b0..c3e4c587b9a1b40c8941afd087f37dcc9082b17d 100644 |
--- a/Source/core/svg/SVGFontFaceElement.cpp |
+++ b/Source/core/svg/SVGFontFaceElement.cpp |
@@ -316,7 +316,7 @@ void SVGFontFaceElement::rebuildFontFace() |
} |
} |
- document()->styleResolverChanged(RecalcStyleDeferred); |
+ document().styleResolverChanged(RecalcStyleDeferred); |
} |
Node::InsertionNotificationRequest SVGFontFaceElement::insertedInto(ContainerNode* rootParent) |
@@ -326,7 +326,7 @@ Node::InsertionNotificationRequest SVGFontFaceElement::insertedInto(ContainerNod |
ASSERT(!m_fontElement); |
return InsertionDone; |
} |
- document()->accessSVGExtensions()->registerSVGFontFaceElement(this); |
+ document().accessSVGExtensions()->registerSVGFontFaceElement(this); |
rebuildFontFace(); |
return InsertionDone; |
@@ -338,10 +338,10 @@ void SVGFontFaceElement::removedFrom(ContainerNode* rootParent) |
if (rootParent->inDocument()) { |
m_fontElement = 0; |
- document()->accessSVGExtensions()->unregisterSVGFontFaceElement(this); |
+ document().accessSVGExtensions()->unregisterSVGFontFaceElement(this); |
m_fontFaceRule->mutableProperties()->clear(); |
- document()->styleResolverChanged(RecalcStyleDeferred); |
+ document().styleResolverChanged(RecalcStyleDeferred); |
} else |
ASSERT(!m_fontElement); |
} |