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

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

Issue 423823004: Add support for SVG Clip paths in HTML (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed LayoutTests and Aligned with review comments Created 6 years, 4 months 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: Source/core/frame/FrameView.cpp
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
index 20aaac2a27a9aacbea207d8c6de4b1d9bbfce281..824ea530720c11f02d432d1cada17fe6ddfa3b57 100644
--- a/Source/core/frame/FrameView.cpp
+++ b/Source/core/frame/FrameView.cpp
@@ -2867,7 +2867,7 @@ void FrameView::updateLayoutAndStyleIfNeededRecursive()
// To avoid pushing an invalid tree for display, we have to check for this case and do another
// style recalc. The extra style recalc needs to happen after our child <iframes> were updated.
// FIXME: We shouldn't be triggering an extra style recalc in the first place.
- if (m_frame->document()->hasSVGFilterElementsRequiringLayerUpdate()) {
+ if (m_frame->document()->hasSVGEffectsElementsRequiringLayerUpdate()) {
m_frame->document()->updateRenderTreeIfNeeded();
if (needsLayout())
@@ -2876,7 +2876,7 @@ void FrameView::updateLayoutAndStyleIfNeededRecursive()
// These asserts ensure that parent frames are clean, when child frames finished updating layout and style.
ASSERT(!needsLayout());
- ASSERT(!m_frame->document()->hasSVGFilterElementsRequiringLayerUpdate());
+ ASSERT(!m_frame->document()->hasSVGEffectsElementsRequiringLayerUpdate());
#if ENABLE(ASSERT)
m_frame->document()->renderView()->assertRendererLaidOut();
#endif

Powered by Google App Engine
This is Rietveld 408576698