| Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| index c55093609fcf2552bd1ee594b7ec6f0adc0e8026..1ba7d67924f3bbf8c97a2b8277f6702940aad4cc 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -272,11 +272,7 @@ void PaintPropertyTreeBuilder::updateTransformForNonRootSVG(
|
| context.current.paintOffset == LayoutPoint());
|
|
|
| if (object.needsPaintPropertyUpdate()) {
|
| - // TODO(pdr): Refactor this so all non-root SVG objects use the same
|
| - // transform function.
|
| - const AffineTransform& transform = object.isSVGForeignObject()
|
| - ? object.localSVGTransform()
|
| - : object.localToSVGParentTransform();
|
| + AffineTransform transform = object.localToSVGParentTransform();
|
| // TODO(pdr): Check for the presence of a transform instead of the value.
|
| // Checking for an identity matrix will cause the property tree structure
|
| // to change during animations if the animation passes through the
|
|
|