Index: Source/core/paint/ClipRecorder.cpp |
diff --git a/Source/core/paint/ClipRecorder.cpp b/Source/core/paint/ClipRecorder.cpp |
index c21acc84f22c6adff9fa9179f7e039e63a077ef8..565dc43670e91abfbe486758c60798402cd7b5a5 100644 |
--- a/Source/core/paint/ClipRecorder.cpp |
+++ b/Source/core/paint/ClipRecorder.cpp |
@@ -16,13 +16,13 @@ |
namespace blink { |
-ClipRecorder::ClipRecorder(RenderLayerModelObject& canvas, const PaintInfo& paintInfo, const LayoutRect& clipRect) |
+ClipRecorder::ClipRecorder(RenderLayerModelObject& canvas, const PaintInfo& paintInfo, const LayoutRect& clipRect, SkRegion::Op operation) |
: m_clipRect(clipRect) |
, m_paintInfo(paintInfo) |
, m_canvas(canvas) |
{ |
DisplayItem::Type type = paintPhaseToClipType(paintInfo.phase); |
- OwnPtr<ClipDisplayItem> clipDisplayItem = adoptPtr(new ClipDisplayItem(m_canvas.displayItemClient(), type, pixelSnappedIntRect(clipRect))); |
+ OwnPtr<ClipDisplayItem> clipDisplayItem = adoptPtr(new ClipDisplayItem(m_canvas.displayItemClient(), type, pixelSnappedIntRect(clipRect), operation)); |
if (RuntimeEnabledFeatures::slimmingPaintEnabled()) { |
if (RenderLayer* container = m_canvas.enclosingLayer()->enclosingLayerForPaintInvalidationCrossingFrameBoundaries()) |