Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2401343002: Tracking filter mutation via SVGElementProxy (Closed)
Patch Set: Tweak lifecycle checks Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9687b1270aa3dd72ed11e65d44df8c98f75129b6..a4fdba5fe95b781aaaff16e2c9d7469b1d0484c0 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -3015,22 +3015,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

Powered by Google App Engine
This is Rietveld 408576698