Index: third_party/WebKit/Source/core/frame/FrameView.cpp |
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp |
index 3d83fd3c6c7a112f7e5cf02df7f2d22a42880efa..1dfc0e709791d41ed28d946509ad6561d00176b5 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -3042,22 +3042,9 @@ void FrameView::updateStyleAndLayoutIfNeededRecursiveInternal() { |
for (const auto& frameView : frameViews) |
frameView->updateStyleAndLayoutIfNeededRecursiveInternal(); |
- checkDoesNotNeedLayout(); |
- |
- // When SVG filters are invalidated using |
- // Document::scheduleSVGFilterLayerUpdateHack() they may trigger an extra |
- // style recalc. See PaintLayer::filterNeedsPaintInvalidation(). |
- if (m_frame->document()->hasSVGFilterElementsRequiringLayerUpdate()) { |
- m_frame->document()->updateStyleAndLayoutTree(); |
- |
- if (needsLayout()) |
- layout(); |
- } |
- |
// These asserts ensure that parent frames are clean, when child frames |
// finished updating layout and style. |
checkDoesNotNeedLayout(); |
- ASSERT(!m_frame->document()->hasSVGFilterElementsRequiringLayerUpdate()); |
#if ENABLE(ASSERT) |
m_frame->document()->layoutView()->assertLaidOut(); |
#endif |