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 f98daf2017a0962a0d114cdc9d2b3137c3a5255f..96cb0e8f87a5b84e1f7c64d7be69f2fc4a4c73ab 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
@@ -8,6 +8,7 @@ |
#include "platform/geometry/LayoutPoint.h" |
#include "platform/graphics/paint/ClipPaintPropertyNode.h" |
#include "platform/graphics/paint/EffectPaintPropertyNode.h" |
+#include "platform/graphics/paint/ScrollPaintPropertyNode.h" |
#include "platform/graphics/paint/TransformPaintPropertyNode.h" |
#include "wtf/RefPtr.h" |
@@ -43,6 +44,9 @@ struct PaintPropertyTreeBuilderContext { |
// the transform and paint offset above. Also the actual raster region may be affected |
// by layerization and occlusion tracking. |
const ClipPaintPropertyNode* clip = nullptr; |
+ // The scrolling information which includes information about scrollable areas such |
+ // as whether they can be scrolled off the main thread and how far they can scroll. |
+ const ScrollPaintPropertyNode* scroll = nullptr; |
}; |
ContainingBlockContext current; |
@@ -86,7 +90,7 @@ private: |
static void updateOverflowClip(const LayoutObject&, PaintPropertyTreeBuilderContext&); |
static void updatePerspective(const LayoutObject&, PaintPropertyTreeBuilderContext&); |
static void updateSvgLocalToBorderBoxTransform(const LayoutObject&, PaintPropertyTreeBuilderContext&); |
- static void updateScrollTranslation(const LayoutObject&, PaintPropertyTreeBuilderContext&); |
+ static void updateScrollAndScrollTranslation(const LayoutObject&, PaintPropertyTreeBuilderContext&); |
static void updateOutOfFlowContext(const LayoutObject&, PaintPropertyTreeBuilderContext&); |
}; |