Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2657863004: Move scroll paint property nodes to be owned by the transform tree (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698