Index: Source/platform/graphics/GraphicsContextState.h |
diff --git a/Source/platform/graphics/GraphicsContextState.h b/Source/platform/graphics/GraphicsContextState.h |
index a5f7bea0f3c18d3dd73f145dc797a3bfe6ea0c1c..327cf981e93c3d8ae934ed143d92a227006d0d76 100644 |
--- a/Source/platform/graphics/GraphicsContextState.h |
+++ b/Source/platform/graphics/GraphicsContextState.h |
@@ -33,7 +33,6 @@ |
#include "platform/graphics/Gradient.h" |
#include "platform/graphics/GraphicsTypes.h" |
#include "platform/graphics/Path.h" |
-#include "platform/graphics/Pattern.h" |
#include "platform/graphics/StrokeData.h" |
#include "platform/graphics/skia/SkiaUtils.h" |
#include "third_party/skia/include/core/SkColorFilter.h" |
@@ -75,9 +74,6 @@ public: |
Gradient* strokeGradient() const { return m_strokeGradient.get(); } |
void setStrokeGradient(const PassRefPtr<Gradient>, float); |
- Pattern* strokePattern() const { return m_strokePattern.get(); } |
- void setStrokePattern(const PassRefPtr<Pattern>, float); |
- |
const StrokeData& strokeData() const { return m_strokeData; } |
void setStrokeStyle(StrokeStyle); |
void setStrokeThickness(float); |
@@ -93,9 +89,6 @@ public: |
Gradient* fillGradient() const { return m_fillGradient.get(); } |
void setFillGradient(const PassRefPtr<Gradient>, float); |
- Pattern* fillPattern() const { return m_fillPattern.get(); } |
- void setFillPattern(const PassRefPtr<Pattern>, float); |
- |
// Shadow. (This will need tweaking if we use draw loopers for other things.) |
SkDrawLooper* drawLooper() const { return m_looper.get(); } |
void setDrawLooper(PassRefPtr<SkDrawLooper>); |
@@ -128,11 +121,9 @@ private: |
Color m_strokeColor; |
RefPtr<Gradient> m_strokeGradient; |
- RefPtr<Pattern> m_strokePattern; |
Color m_fillColor; |
RefPtr<Gradient> m_fillGradient; |
- RefPtr<Pattern> m_fillPattern; |
RefPtr<SkDrawLooper> m_looper; |