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

Unified Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h

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/PaintPropertyTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
index 35414d9086874bade772194252f86eecb216ec60..29d89b7dfd80bde2a663b560b189156ba1447b57 100644
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h
@@ -48,7 +48,7 @@ struct PaintPropertyTreeBuilderContext {
// scroll space, the extent that can be scrolled, etc. Because scroll nodes
// reference a scroll offset transform, scroll nodes should be updated if
// the transform tree changes.
- ScrollPaintPropertyNode* scroll = nullptr;
+ const ScrollPaintPropertyNode* scroll = nullptr;
};
ContainingBlockContext current;
@@ -111,9 +111,6 @@ class PaintPropertyTreeBuilder {
static void updateScrollbarPaintOffset(
const LayoutObject&,
const PaintPropertyTreeBuilderContext&);
- static void updateMainThreadScrollingReasons(
- const LayoutObject&,
- PaintPropertyTreeBuilderContext&);
static void updateOverflowClip(const LayoutObject&,
PaintPropertyTreeBuilderContext&);
static void updatePerspective(const LayoutObject&,

Powered by Google App Engine
This is Rietveld 408576698