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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp

Issue 2345403003: Add background attachment fixed main thread scrolling reason [spv2] (Closed)
Patch Set: Update test that was written for PaintArtifactCompositor's reasons update Created 4 years, 3 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/paint/PaintPropertyTreePrinter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
index c2ca62fd5bb9f30b4fc5211f80474a1aaba47516..99ba3fb359bac352379d706d4f28c2bd7e2439b2 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
@@ -220,6 +220,8 @@ public:
stringBuilder.append(node->userScrollableHorizontal() ? "yes" : "no");
stringBuilder.append(" userScrollableVertical=");
stringBuilder.append(node->userScrollableVertical() ? "yes" : "no");
+ stringBuilder.append(" hasBackgroundAttachmentFixedMainThreadScrollingReason=");
+ stringBuilder.append(node->hasMainThreadScrollingReasons(MainThreadScrollingReason::kHasBackgroundAttachmentFixedObjects) ? "yes" : "no");
}
};

Powered by Google App Engine
This is Rietveld 408576698