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 3f2f6c9cc2a5b183d8c3fe73c4cac589bc546d01..f3a9112b84dedebdb160ab14e90f64b7e923db4c 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
@@ -65,6 +65,11 @@ struct PaintPropertyTreeBuilderContext { |
ContainingBlockContext fixedPosition; |
+ // This is the same as current.paintOffset except when a floating object has |
+ // non-block ancestors under its containing block. Paint offsets of the |
+ // non-block ancestors should not be accumulated for the floating object. |
+ LayoutPoint paintOffsetForFloat; |
+ |
// The effect hierarchy is applied by the stacking context tree. It is |
// guaranteed that every DOM descendant is also a stacking context descendant. |
// Therefore, we don't need extra bookkeeping for effect nodes and can |