| Index: Source/core/page/Page.cpp
|
| diff --git a/Source/core/page/Page.cpp b/Source/core/page/Page.cpp
|
| index 5063fc69f626ad72e64923c5ecb2d0fb8ac328dc..b3de6eb0274e811f65fe97b5d4eb7e4a2c18f94c 100644
|
| --- a/Source/core/page/Page.cpp
|
| +++ b/Source/core/page/Page.cpp
|
| @@ -229,6 +229,9 @@ ScrollingCoordinator* Page::scrollingCoordinator()
|
|
|
| String Page::mainThreadScrollingReasonsAsText()
|
| {
|
| + if (Document* document = m_mainFrame->document())
|
| + document->updateLayout();
|
| +
|
| if (ScrollingCoordinator* scrollingCoordinator = this->scrollingCoordinator())
|
| return scrollingCoordinator->mainThreadScrollingReasonsAsText();
|
|
|
|
|