| Index: Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| diff --git a/Source/core/layout/svg/LayoutSVGResourceContainer.cpp b/Source/core/layout/svg/LayoutSVGResourceContainer.cpp
|
| index 9b6ed6bc2c746b149b3f23576b283c5db2e0a137..3a112e9cdb72fa198fc714e59509ee9f3c1911ed 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);
|
|
|
|
|