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 b0900d71a5e93f8558fed8ad92d2d2b119db4895..809a5c3e733659541878a2e474b7e236c64e125d 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2984,22 +2984,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 |