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

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

Issue 2490163002: Reland of "Tracking reference filter mutation via SVGElementProxy" (Closed)
Patch Set: Fix double observer unregistration; simplify scope selection; add tests 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 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

Powered by Google App Engine
This is Rietveld 408576698