Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
index cc7ad13610ec10a955b4fe2a5674a63bbfdba025..1ce2c481cc894834f3134f66cd13c87b57c14acb 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp |
@@ -467,6 +467,17 @@ void LayoutSVGText::absoluteQuads(Vector<FloatQuad>& quads, bool* wasFixed) cons |
quads.append(localToAbsoluteQuad(strokeBoundingBox(), 0 /* mode */, wasFixed)); |
} |
+void LayoutSVGText::styleDidChange(StyleDifference diff, const ComputedStyle* oldStyle) |
+{ |
+ if (diff.needsFullLayout()) { |
+ setNeedsBoundariesUpdate(); |
+ if (style()->hasTransform()) |
fs
2016/01/02 16:41:13
Since LayoutSVGBlock doesn't do this, then presuma
|
+ setNeedsTransformUpdate(); |
+ } |
+ LayoutSVGBlock::styleDidChange(diff, oldStyle); |
+ SVGResourcesCache::clientStyleChanged(this, diff, styleRef()); |
fs
2016/01/02 16:41:13
The call to the super-class (just above) would've
|
+} |
+ |
void LayoutSVGText::paint(const PaintInfo& paintInfo, const LayoutPoint&) const |
{ |
SVGTextPainter(*this).paint(paintInfo); |