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 72a21f3d2edd07961902519af35ccf86b73f53c6..9055a1ff841ba8d7d9478c36e45867ec0d67a1a7 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.h |
@@ -30,6 +30,14 @@ struct PaintPropertyTreeBuilderContext { |
// the space with its own layout location. |
TransformPaintPropertyNode* transform = nullptr; |
LayoutPoint paintOffset; |
+ // Whether newly created children should flatten their inherited transform |
+ // (equivalently, draw into the plane of their parent). Should generally |
+ // be updated whenever |transform| is; flattening only needs to happen |
+ // to immediate children. |
+ bool shouldFlattenInheritedTransform = false; |
+ // Rendering context for 3D sorting. See |
+ // TransformPaintPropertyNode::renderingContextID. |
+ unsigned renderingContextID = 0; |
// The clip node describes the accumulated raster clip for the current subtree. |
// Note that the computed raster region in canvas space for a clip node is independent from |
// the transform and paint offset above. Also the actual raster region may be affected |