| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index e50c31d5b9f0a793abda14ab052db54ce5433927..f63a3986bbc6d1f22cf48b5479364772c21971e2 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -4961,8 +4961,8 @@ String FrameView::mainThreadScrollingReasonsAsText() const {
|
| // Slimming paint v2 stores main thread scrolling reasons on property
|
| // trees instead of in |m_mainThreadScrollingReasons|.
|
| MainThreadScrollingReasons reasons = 0;
|
| - if (const auto* scrollNode = scroll())
|
| - reasons |= scrollNode->mainThreadScrollingReasons();
|
| + if (const auto* scrollTranslation = this->scrollTranslation())
|
| + reasons |= scrollTranslation->scrollNode()->mainThreadScrollingReasons();
|
| return String(
|
| MainThreadScrollingReason::mainThreadScrollingReasonsAsText(reasons)
|
| .c_str());
|
|
|