Index: Source/platform/graphics/GraphicsContextState.cpp |
diff --git a/Source/platform/graphics/GraphicsContextState.cpp b/Source/platform/graphics/GraphicsContextState.cpp |
index 657d0df5fb03942dbf1f6e356445b25f861889f6..e1f0ea73e31c80e5e52c9e26f435729e539ec9db 100644 |
--- a/Source/platform/graphics/GraphicsContextState.cpp |
+++ b/Source/platform/graphics/GraphicsContextState.cpp |
@@ -47,6 +47,7 @@ GraphicsContextState::GraphicsContextState(const GraphicsContextState& other) |
, m_fillGradient(other.m_fillGradient) |
, m_fillPattern(other.m_fillPattern) |
, m_looper(other.m_looper) |
+ , m_dropShadowImageFilter(other.m_dropShadowImageFilter) |
, m_textDrawingMode(other.m_textDrawingMode) |
, m_alpha(other.m_alpha) |
, m_colorFilter(other.m_colorFilter) |
@@ -204,6 +205,16 @@ void GraphicsContextState::clearDrawLooper() |
m_fillPaint.setLooper(0); |
} |
+void GraphicsContextState::setDropShadowImageFilter(PassRefPtr<SkImageFilter> dropShadowImageFilter) |
+{ |
+ m_dropShadowImageFilter = dropShadowImageFilter; |
+} |
+ |
+void GraphicsContextState::clearDropShadowImageFilter() |
+{ |
+ m_dropShadowImageFilter.clear(); |
+} |
+ |
void GraphicsContextState::setAlphaAsFloat(float alpha) |
{ |
if (alpha < 0) { |