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

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

Issue 2506353002: Incrementally build main thread scrolling reasons [spv2] (Closed)
Patch Set: Fix test mistake Created 4 years, 1 month 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 a56f12b60bd6a697ef66ec11b2dbda7e31c3d463..c0b17fd691635b6bdc8549cbc026ecd3f52e65a0 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp
@@ -292,13 +292,11 @@ class PropertyTreePrinterTraits<ScrollPaintPropertyNode> {
stringBuilder.append(node->userScrollableHorizontal() ? "yes" : "no");
stringBuilder.append(" userScrollableVertical=");
stringBuilder.append(node->userScrollableVertical() ? "yes" : "no");
+ stringBuilder.append(" threadedScrollingDisabled=");
+ stringBuilder.append(node->threadedScrollingDisabled() ? "yes" : "no");
+ stringBuilder.append(" hasBackgroundAttachmentFixedDescendants=");
stringBuilder.append(
- " hasBackgroundAttachmentFixedMainThreadScrollingReason=");
- stringBuilder.append(
- node->hasMainThreadScrollingReasons(
- MainThreadScrollingReason::kHasBackgroundAttachmentFixedObjects)
- ? "yes"
- : "no");
+ node->hasBackgroundAttachmentFixedDescendants() ? "yes" : "no");
}
};
@@ -534,7 +532,7 @@ class PaintPropertyTreeGraphBuilder {
ClipPaintPropertyNode* contentClip = frameView.contentClip();
if (contentClip)
writePaintPropertyNode(*contentClip, &frameView, "contentClip");
- ScrollPaintPropertyNode* scroll = frameView.scroll();
+ const ScrollPaintPropertyNode* scroll = frameView.scroll();
if (scroll)
writePaintPropertyNode(*scroll, &frameView, "scroll");
}

Powered by Google App Engine
This is Rietveld 408576698