Index: Source/core/layout/svg/LayoutSVGResourcePaintServer.h |
diff --git a/Source/core/layout/svg/LayoutSVGResourcePaintServer.h b/Source/core/layout/svg/LayoutSVGResourcePaintServer.h |
index 651e00a965a1c3d5ad4d8dfb31b75343fde40e59..5ed7eb2b088a29ce1d60d402eb92acbc14f0721b 100644 |
--- a/Source/core/layout/svg/LayoutSVGResourcePaintServer.h |
+++ b/Source/core/layout/svg/LayoutSVGResourcePaintServer.h |
@@ -25,6 +25,8 @@ |
#include "platform/graphics/Gradient.h" |
#include "platform/graphics/Pattern.h" |
+class SkPaint; |
+ |
namespace blink { |
enum LayoutSVGResourceMode { |
@@ -47,6 +49,7 @@ public: |
static SVGPaintServer requestForLayoutObject(const LayoutObject&, const ComputedStyle&, LayoutSVGResourceMode); |
static bool existsForLayoutObject(const LayoutObject&, const ComputedStyle&, LayoutSVGResourceMode); |
+ void applyToSkPaint(SkPaint&, float paintAlpha); |
void apply(GraphicsContext&, LayoutSVGResourceMode, float paintAlpha, GraphicsContextStateSaver&); |
static SVGPaintServer invalid() { return SVGPaintServer(Color(Color::transparent)); } |