| Index: Source/core/layout/Layer.cpp
|
| diff --git a/Source/core/layout/Layer.cpp b/Source/core/layout/Layer.cpp
|
| index f3cd9717fb0600452b8043ff31734c8a4894b83b..c805ee0b525b19e604755ec224a6934067aaff9c 100644
|
| --- a/Source/core/layout/Layer.cpp
|
| +++ b/Source/core/layout/Layer.cpp
|
| @@ -257,6 +257,13 @@ void Layer::updateLayerPositionRecursive()
|
| if (m_reflectionInfo)
|
| m_reflectionInfo->reflection()->layout();
|
|
|
| + // FIXME(400589): We would like to do this in RenderLayerScrollableArea::updateAfterLayout,
|
| + // but it depends on the size computed by updateLayerPosition.
|
| + if (m_scrollableArea) {
|
| + if (ScrollAnimator* scrollAnimator = m_scrollableArea->existingScrollAnimator())
|
| + scrollAnimator->updateAfterLayout();
|
| + }
|
| +
|
| // FIXME: We should be able to remove this call because we don't care about
|
| // any descendant-dependent flags, but code somewhere else is reading these
|
| // flags and depending on us to update them.
|
|
|