summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/paint/svg_mask_painter.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/paint/svg_mask_painter.h')
-rw-r--r--chromium/third_party/blink/renderer/core/paint/svg_mask_painter.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/chromium/third_party/blink/renderer/core/paint/svg_mask_painter.h b/chromium/third_party/blink/renderer/core/paint/svg_mask_painter.h
index af65990bf2e..d7f37cdb526 100644
--- a/chromium/third_party/blink/renderer/core/paint/svg_mask_painter.h
+++ b/chromium/third_party/blink/renderer/core/paint/svg_mask_painter.h
@@ -5,26 +5,27 @@
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_SVG_MASK_PAINTER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_SVG_MASK_PAINTER_H_
-#include "third_party/blink/renderer/platform/geometry/float_rect.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"
namespace blink {
+class DisplayItemClient;
class GraphicsContext;
class LayoutObject;
-class LayoutSVGResourceMasker;
class SVGMaskPainter {
STACK_ALLOCATED();
public:
- SVGMaskPainter(LayoutSVGResourceMasker& mask) : mask_(mask) {}
-
- bool PrepareEffect(const LayoutObject&, GraphicsContext&);
- void FinishEffect(const LayoutObject&, GraphicsContext&);
+ SVGMaskPainter(GraphicsContext&,
+ const LayoutObject&,
+ const DisplayItemClient&);
+ ~SVGMaskPainter();
private:
- LayoutSVGResourceMasker& mask_;
+ GraphicsContext& context_;
+ const LayoutObject& layout_object_;
+ const DisplayItemClient& display_item_client_;
};
} // namespace blink