| Index: Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGResourceContainer.cpp b/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| index a2763788df5063b2f64ff9ef7f9a784b601ed0d9..49f9c02bc841d1c3b2d773d35c81165cbe7e0d74 100644
|
| --- a/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| +++ b/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| @@ -195,7 +195,7 @@ void LayoutSVGResourceContainer::invalidateCacheAndMarkForLayout(SubtreeLayoutSc
|
| if (selfNeedsLayout())
|
| return;
|
|
|
| - setNeedsLayoutAndFullPaintInvalidation(MarkContainerChain, layoutScope);
|
| + setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::SvgResourceInvalidated, MarkContainerChain, layoutScope);
|
|
|
| if (everHadLayout())
|
| removeAllClientsFromCache();
|
| @@ -226,7 +226,7 @@ void LayoutSVGResourceContainer::registerResource()
|
| StyleDifference diff;
|
| diff.setNeedsFullLayout();
|
| SVGResourcesCache::clientStyleChanged(layoutObject, diff, layoutObject->styleRef());
|
| - layoutObject->setNeedsLayoutAndFullPaintInvalidation();
|
| + layoutObject->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::SvgResourceInvalidated);
|
| }
|
| }
|
|
|
| @@ -277,7 +277,7 @@ void LayoutSVGResourceContainer::markForLayoutAndParentResourceInvalidation(Layo
|
| ASSERT(object->node());
|
|
|
| if (needsLayout && !object->documentBeingDestroyed())
|
| - object->setNeedsLayoutAndFullPaintInvalidation();
|
| + object->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::SvgResourceInvalidated);
|
|
|
| removeFromCacheAndInvalidateDependencies(object, needsLayout);
|
|
|
|
|