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

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: Update test expectations 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 492fabdffb528c5f48f0bcd315d3d5ef9b7dddf4..c04eed4a9f0f75f1addacea5c209553740e96a85 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());

Powered by Google App Engine
This is Rietveld 408576698