Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(572)

Unified Diff: third_party/WebKit/Source/core/paint/SVGClipPainter.h

Issue 2322343003: Add support for <basic-shape> to 'clip-path' on SVG elements (Closed)
Patch Set: Update SPv2 expectations Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/SVGClipPainter.h
diff --git a/third_party/WebKit/Source/core/paint/SVGClipPainter.h b/third_party/WebKit/Source/core/paint/SVGClipPainter.h
index c5586d282e041337437dc42c8e3a87f5393e9d08..f5203c0742e70fa8180456db88dff1917b53c225 100644
--- a/third_party/WebKit/Source/core/paint/SVGClipPainter.h
+++ b/third_party/WebKit/Source/core/paint/SVGClipPainter.h
@@ -16,15 +16,11 @@ class GraphicsContext;
class LayoutObject;
class LayoutSVGResourceClipper;
+enum class ClipperState;
+
class SVGClipPainter {
STACK_ALLOCATED();
public:
- enum ClipperState {
- ClipperNotApplied,
- ClipperAppliedPath,
- ClipperAppliedMask
- };
-
SVGClipPainter(LayoutSVGResourceClipper& clip) : m_clip(clip) { }
bool prepareEffect(const LayoutObject&, const FloatRect&, const FloatRect&, const FloatPoint&, GraphicsContext&, ClipperState&);
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp ('k') | third_party/WebKit/Source/core/paint/SVGClipPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698