Index: Source/core/paint/LayerPainter.h |
diff --git a/Source/core/paint/LayerPainter.h b/Source/core/paint/LayerPainter.h |
index 3d1369f218473b81b7ab68d64b839869a3731492..e201d60287133c8922f1d2c357ad110988f25abb 100644 |
--- a/Source/core/paint/LayerPainter.h |
+++ b/Source/core/paint/LayerPainter.h |
@@ -5,6 +5,7 @@ |
#ifndef LayerPainter_h |
#define LayerPainter_h |
+#include "core/paint/ViewDisplayList.h" |
#include "core/rendering/LayerFragment.h" |
#include "core/rendering/LayerPaintingInfo.h" |
@@ -53,8 +54,8 @@ private: |
enum BorderRadiusClippingRule { IncludeSelfForBorderRadius, DoNotIncludeSelfForBorderRadius }; |
- void clipToRect(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&, PaintLayerFlags, BorderRadiusClippingRule = IncludeSelfForBorderRadius); |
- void restoreClip(GraphicsContext*, const LayoutRect& paintDirtyRect, const ClipRect&); |
+ void applyRoundedRectClips(const LayerPaintingInfo&, GraphicsContext*, const ClipRect&, PaintLayerFlags, ClipRecorder&, BorderRadiusClippingRule = IncludeSelfForBorderRadius); |
+ static bool needsToClip(const LayerPaintingInfo& localPaintingInfo, const ClipRect&); |
// Returns whether this layer should be painted during sofware painting (i.e., not via calls from CompositedLayerMapping to draw into composited |
// layers). |