Chromium Code Reviews| Index: Source/core/paint/SVGPaintContext.h |
| diff --git a/Source/core/paint/SVGPaintContext.h b/Source/core/paint/SVGPaintContext.h |
| index eca885c0508bd6afa5ad131ed3c5004593074122..b91fcdd7c2835e9c7ad533357f5c534359dcb4f6 100644 |
| --- a/Source/core/paint/SVGPaintContext.h |
| +++ b/Source/core/paint/SVGPaintContext.h |
| @@ -27,6 +27,7 @@ |
| #include "core/layout/PaintInfo.h" |
| #include "core/layout/svg/LayoutSVGResourceClipper.h" |
| +#include "core/layout/svg/LayoutSVGResourcePaintServer.h" |
| #include "core/paint/CompositingRecorder.h" |
| #include "core/paint/FloatClipRecorder.h" |
| #include "core/paint/SVGClipPainter.h" |
| @@ -65,6 +66,10 @@ public: |
| static void paintSubtree(GraphicsContext*, LayoutObject*); |
| + // TODO(fs): This functions feels a bit misplaced (we don't want this to |
| + // turn into the new kitchen sink). Move it if a better location surfaces. |
| + static bool paintForLayoutObject(const PaintInfo&, const ComputedStyle&, LayoutObject&, LayoutSVGResourceMode, SkPaint&, const AffineTransform* additionalPaintServerTransform = nullptr); |
|
f(malita)
2015/04/08 14:49:14
I wonder if at some point we'll be able to just fo
fs
2015/04/08 15:03:39
Yes, I hope it'll be possible to merge this with S
|
| + |
| private: |
| void applyCompositingIfNecessary(); |