| 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 be3393ed2a1dc91437f9d09f34e33aa21ec5f100..2823cc71fc0a171897078a01fb939785dc88bc5e 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -102,10 +102,11 @@ void PaintPropertyTreeBuilder::updateTransform(const LayoutObject& object, Paint
|
| // any paint offset in the root's svgLocalToBorderBox transform.
|
| DCHECK(context.paintOffset == LayoutPoint());
|
|
|
| - // TODO(pdr): Check for the presence of a transform instead of the value. Checking for an
|
| + // FIXME(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 identity matrix.
|
| - const AffineTransform& transform = object.localToSVGParentTransform();
|
| + // FIXME(pdr): Refactor this so all non-root SVG objects use the same transform function.
|
| + const AffineTransform& transform = object.isSVGForeignObject() ? object.localSVGTransform() : object.localToSVGParentTransform();
|
| if (transform.isIdentity())
|
| return;
|
|
|
|
|