summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp')
-rw-r--r--third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
index cc7ad13..1ef39af 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
@@ -263,22 +263,6 @@ void LayoutSVGText::subtreeChildWasRemoved(const Vector<SVGTextLayoutAttributes*
m_layoutAttributesBuilder.buildLayoutAttributesForText(affectedAttributes[i]->context());
}
-void LayoutSVGText::subtreeStyleDidChange()
-{
- if (!shouldHandleSubtreeMutations() || documentBeingDestroyed())
- return;
-
- checkLayoutAttributesConsistency(this, m_layoutAttributes);
-
- // Only update the metrics cache, but not the text positioning element cache
- // nor the layout attributes cached in the leaf #text layoutObjects.
- FontCachePurgePreventer fontCachePurgePreventer;
- for (LayoutObject* descendant = firstChild(); descendant; descendant = descendant->nextInPreOrder(this)) {
- if (descendant->isSVGInlineText())
- m_layoutAttributesBuilder.rebuildMetricsForTextLayoutObject(toLayoutSVGInlineText(descendant));
- }
-}
-
void LayoutSVGText::subtreeTextDidChange(LayoutSVGInlineText* text)
{
ASSERT(text);
@@ -319,8 +303,6 @@ void LayoutSVGText::layout()
ASSERT(needsLayout());
LayoutAnalyzer::Scope analyzer(*this);
- subtreeStyleDidChange();
-
bool updateCachedBoundariesInParents = false;
if (m_needsTransformUpdate) {
m_localTransform = toSVGTextElement(node())->calculateAnimatedLocalTransform();