Index: Source/platform/graphics/GraphicsContextState.cpp |
diff --git a/Source/platform/graphics/GraphicsContextState.cpp b/Source/platform/graphics/GraphicsContextState.cpp |
index e55810458e1fd87cf38acf1c38b27ff33a1f64e7..d4af47aaa6750f3fe7270a36425103ae46c706bc 100644 |
--- a/Source/platform/graphics/GraphicsContextState.cpp |
+++ b/Source/platform/graphics/GraphicsContextState.cpp |
@@ -188,9 +188,9 @@ void GraphicsContextState::clearFillPattern() |
} |
// Shadow. (This will need tweaking if we use draw loopers for other things.) |
-void GraphicsContextState::setDrawLooper(const DrawLooper& drawLooper) |
+void GraphicsContextState::setDrawLooper(PassRefPtr<SkDrawLooper> drawLooper) |
{ |
- m_looper = drawLooper.skDrawLooper(); |
+ m_looper = drawLooper; |
m_strokePaint.setLooper(m_looper.get()); |
m_fillPaint.setLooper(m_looper.get()); |
} |