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

Unified Diff: Source/core/layout/svg/LayoutSVGResourceContainer.cpp

Issue 1111223002: Invalidate ancestor resources in when relative lengths change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: TEs. Created 5 years, 8 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/layout/svg/LayoutSVGResourceContainer.cpp
diff --git a/Source/core/layout/svg/LayoutSVGResourceContainer.cpp b/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
index 35ac287f07d068fe010c527b914d6865a438a8e8..4fd603b387f397067b754df7fe36e6c92e2a6f77 100644
--- a/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
+++ b/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
@@ -274,13 +274,13 @@ static inline void removeFromCacheAndInvalidateDependencies(LayoutObject* object
}
}
-void LayoutSVGResourceContainer::markForLayoutAndParentResourceInvalidation(LayoutObject* object, bool needsLayout)
+void LayoutSVGResourceContainer::markForLayoutAndParentResourceInvalidation(LayoutObject* object, bool needsLayout, SubtreeLayoutScope* layoutScope)
{
ASSERT(object);
ASSERT(object->node());
if (needsLayout && !object->documentBeingDestroyed())
- object->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::SvgResourceInvalidated);
+ object->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::SvgResourceInvalidated, MarkContainerChain, layoutScope);
fs 2015/04/30 13:36:47 I suppose we should work to thread the layout scop
removeFromCacheAndInvalidateDependencies(object, needsLayout);

Powered by Google App Engine
This is Rietveld 408576698