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

Unified Diff: Source/core/paint/SVGPaintContext.h

Issue 979883002: [S.P.] Move clip painting to SVGClipPainter. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: codereview fixes Created 5 years, 9 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
« no previous file with comments | « Source/core/paint/SVGClipPainter.cpp ('k') | Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/SVGPaintContext.h
diff --git a/Source/core/paint/SVGPaintContext.h b/Source/core/paint/SVGPaintContext.h
index bdab32a9a61a69fbc2d49e501233541903c2de6b..eca885c0508bd6afa5ad131ed3c5004593074122 100644
--- a/Source/core/paint/SVGPaintContext.h
+++ b/Source/core/paint/SVGPaintContext.h
@@ -29,6 +29,7 @@
#include "core/layout/svg/LayoutSVGResourceClipper.h"
#include "core/paint/CompositingRecorder.h"
#include "core/paint/FloatClipRecorder.h"
+#include "core/paint/SVGClipPainter.h"
#include "platform/graphics/paint/ClipPathRecorder.h"
#include "platform/transforms/AffineTransform.h"
@@ -48,7 +49,7 @@ public:
, m_originalPaintInfo(&paintInfo)
, m_filter(nullptr)
, m_clipper(nullptr)
- , m_clipperState(LayoutSVGResourceClipper::ClipperNotApplied)
+ , m_clipperState(SVGClipPainter::ClipperNotApplied)
, m_masker(nullptr)
#if ENABLE(ASSERT)
, m_applyClipMaskAndFilterIfNecessaryCalled(false)
@@ -83,7 +84,7 @@ private:
const PaintInfo* m_originalPaintInfo;
RawPtrWillBeMember<LayoutSVGResourceFilter> m_filter;
RawPtrWillBeMember<LayoutSVGResourceClipper> m_clipper;
- LayoutSVGResourceClipper::ClipperState m_clipperState;
+ SVGClipPainter::ClipperState m_clipperState;
RawPtrWillBeMember<LayoutSVGResourceMasker> m_masker;
OwnPtr<CompositingRecorder> m_compositingRecorder;
OwnPtr<FloatClipRecorder> m_clipRecorder;
« no previous file with comments | « Source/core/paint/SVGClipPainter.cpp ('k') | Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698