Index: Source/core/platform/graphics/GraphicsContext.h |
diff --git a/Source/core/platform/graphics/GraphicsContext.h b/Source/core/platform/graphics/GraphicsContext.h |
index b91c7e6b60245eea6e9bd9aba3b6a6773bac7b68..9bad15dc2967157af5fd1d5845dd2db364af8fa4 100644 |
--- a/Source/core/platform/graphics/GraphicsContext.h |
+++ b/Source/core/platform/graphics/GraphicsContext.h |
@@ -129,7 +129,7 @@ public: |
void setFillGradient(PassRefPtr<Gradient>); |
Gradient* fillGradient() const { return m_state->m_fillGradient.get(); } |
- SkDrawLooper* drawLooper() const { return m_state->m_looper.get(); } |
+ DrawLooper* drawLooper() const { return m_state->m_looper.get(); } |
SkColor effectiveStrokeColor() const { return m_state->applyAlpha(m_state->m_strokeData.color().rgb()); } |
int getNormalizedAlpha() const; |
@@ -304,7 +304,7 @@ public: |
// It is assumed that this draw looper is used only for shadows |
// (i.e. a draw looper is set if and only if there is a shadow). |
- void setDrawLooper(const DrawLooper&); |
+ void setDrawLooper(PassRefPtr<DrawLooper>); |
void clearDrawLooper(); |
void drawFocusRing(const Vector<IntRect>&, int width, int offset, const Color&); |