Index: Source/core/paint/ClipRecorder.h |
diff --git a/Source/core/paint/ClipRecorder.h b/Source/core/paint/ClipRecorder.h |
index a1dbc1dc193311b8157259f32d350ffcafc43678..4a5657f5b58b7a90b5a46a7f7cd5de4047fc9dc6 100644 |
--- a/Source/core/paint/ClipRecorder.h |
+++ b/Source/core/paint/ClipRecorder.h |
@@ -52,6 +52,10 @@ public: |
// certain column. |
// FIXME: The BorderRadiusClippingRule parameter is really useless now. If we want to skip self, |
// why not just supply the parent layer as the first parameter instead? |
+ // FIXME: The ClipRect passed is in visual coordinates (not flow thread coordinates), but at the |
+ // same time we pass a fragmentOffset, so that we can translate from flow thread coordinates to |
+ // visual coordinates. This may look rather confusing/redundant, but it is needed for rounded |
+ // border clipping. Would be nice to clean up this. |
explicit ClipRecorder(const RenderLayerModelObject*, GraphicsContext*, DisplayItem::Type, const ClipRect&, const LayerPaintingInfo* localPaintingInfo, const LayoutPoint& fragmentOffset, PaintLayerFlags, BorderRadiusClippingRule = IncludeSelfForBorderRadius); |
~ClipRecorder(); |