Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / graphics / GraphicsContextState.cpp
index 657d0df..e1f0ea7 100644 (file)
@@ -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) {