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 c4386dc28f16417b15beb3c673e7f263c47a8098..b934f67fad2d4e249adf6008a8c4ebc4511eb3d6 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
@@ -65,10 +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; |
+ // These are the same as current.paintOffset except when a floating object's |
+ // parent is not a container. Paint offsets of the non-container ancestors |
+ // should not be accumulated for the floating object. |
+ LayoutPoint paintOffsetForNonStackedFloat; |
+ LayoutPoint paintOffsetForStackedFloat; |
// The effect hierarchy is applied by the stacking context tree. It is |
// guaranteed that every DOM descendant is also a stacking context descendant. |