Index: Source/core/paint/ClipRecorder.h |
diff --git a/Source/core/paint/ClipRecorder.h b/Source/core/paint/ClipRecorder.h |
index 5da1261da0db7c424b3cba9b8cae862fe2b3f464..2362f75ab0a3d7c5018d0f9ad60799e53a10d393 100644 |
--- a/Source/core/paint/ClipRecorder.h |
+++ b/Source/core/paint/ClipRecorder.h |
@@ -5,6 +5,7 @@ |
#ifndef ClipRecorder_h |
#define ClipRecorder_h |
+#include "SkRegion.h" |
#include "core/rendering/RenderLayerModelObject.h" |
#include "platform/geometry/LayoutRect.h" |
#include "platform/graphics/paint/DisplayItem.h" |
@@ -17,7 +18,7 @@ struct PaintInfo; |
class ClipRecorder { |
public: |
- ClipRecorder(RenderLayerModelObject&, const PaintInfo&, const LayoutRect& clipRect); |
+ ClipRecorder(RenderLayerModelObject&, const PaintInfo&, const LayoutRect& clipRect, SkRegion::Op = SkRegion::kIntersect_Op); |
~ClipRecorder(); |
static DisplayItem::Type paintPhaseToClipType(PaintPhase); |