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

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: Rebase & remove parens 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 1267adb057141c2533062ab02a2a0faa9dd91a9c..b50947044a07213fe7743cbac3ddf13663c17400 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -4977,8 +4977,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());
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.h ('k') | third_party/WebKit/Source/core/paint/BlockPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698