Chromium Code Reviews| 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..31a849b37ecec044dea609afc08071df6d1b16ba 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,10 @@ 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 scroll node contains information for compositor-thread scrolling such as the |
|
chrishtr
2016/09/08 20:43:59
remove compositor-thread
pdr.
2016/09/08 23:16:26
Done
|
| + // scrolling hierarchy, 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. |
| + const ScrollPaintPropertyNode* scroll = nullptr; |
| }; |
| ContainingBlockContext current; |
| @@ -86,7 +91,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&); |
| }; |