Chromium Code Reviews| Index: Source/core/rendering/svg/RenderSVGModelObject.cpp |
| diff --git a/Source/core/rendering/svg/RenderSVGModelObject.cpp b/Source/core/rendering/svg/RenderSVGModelObject.cpp |
| index b8d334f0a12725838e2afad717df5df663f1cad5..bfa362841d2fbcf6beecda316864413f24c31b79 100644 |
| --- a/Source/core/rendering/svg/RenderSVGModelObject.cpp |
| +++ b/Source/core/rendering/svg/RenderSVGModelObject.cpp |
| @@ -149,14 +149,6 @@ void RenderSVGModelObject::invalidatePaintIfNeeded(const PaintInvalidationState& |
| setPreviousPaintInvalidationRect(boundsRectForPaintInvalidation(&paintInvalidationState.paintInvalidationContainer(), &paintInvalidationState)); |
| setPreviousPositionFromPaintInvalidationContainer(RenderLayer::positionFromPaintInvalidationContainer(this, &paintInvalidationState.paintInvalidationContainer(), &paintInvalidationState)); |
| - // If an ancestor container had its transform changed, then we just |
| - // need to update the RenderSVGModelObject's repaint rect above. The invalidation |
| - // will be handled by the container where the transform changed. This essentially |
| - // means that we prune the entire branch for performance. |
| - RenderObject* parent = this->parent(); |
| - if (parent && parent->isSVGContainer() && toRenderSVGContainer(parent)->didTransformToRootUpdate()) |
| - return; |
|
Julien - ping for review
2014/07/28 18:05:27
Actually, we should re-enable the ASSERT in Render
Xianzhu
2014/07/28 20:09:37
Done.
|
| - |
| // If we are set to do a full paint invalidation that means the RenderView will be |
| // issue paint invalidations. We can then skip issuing of paint invalidations for the child |
| // renderers as they'll be covered by the RenderView. |