| Index: Source/core/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/core/platform/graphics/GraphicsContext.cpp b/Source/core/platform/graphics/GraphicsContext.cpp
|
| index 63ca4a9e79f2705466185285b06b0a836ccd666b..c9da39c0e1a3c6ff6f3253f8e695f52315c73e6a 100644
|
| --- a/Source/core/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/core/platform/graphics/GraphicsContext.cpp
|
| @@ -293,7 +293,7 @@ void GraphicsContext::setDrawLooper(const DrawLooper& drawLooper)
|
| if (paintingDisabled())
|
| return;
|
|
|
| - setDrawLooper(drawLooper.skDrawLooper());
|
| + m_state->m_looper = drawLooper.skDrawLooper();
|
| }
|
|
|
| void GraphicsContext::clearDrawLooper()
|
| @@ -301,7 +301,7 @@ void GraphicsContext::clearDrawLooper()
|
| if (paintingDisabled())
|
| return;
|
|
|
| - setDrawLooper(0);
|
| + m_state->m_looper.clear();
|
| }
|
|
|
| bool GraphicsContext::hasShadow() const
|
| @@ -1724,7 +1724,7 @@ void GraphicsContext::setupPaintCommon(SkPaint* paint) const
|
|
|
| paint->setAntiAlias(m_state->m_shouldAntialias);
|
| paint->setXfermodeMode(m_state->m_xferMode);
|
| - paint->setLooper(m_state->m_looper);
|
| + paint->setLooper(m_state->m_looper.get());
|
| }
|
|
|
| void GraphicsContext::drawOuterPath(const SkPath& path, SkPaint& paint, int width)
|
|
|