| Index: Source/platform/graphics/GraphicsContextState.h
|
| diff --git a/Source/platform/graphics/GraphicsContextState.h b/Source/platform/graphics/GraphicsContextState.h
|
| index 8ad9d613f16a62f848d889a2344fee38ba9b92c9..c465f39d844065827391ef9beb7e4212beb47a38 100644
|
| --- a/Source/platform/graphics/GraphicsContextState.h
|
| +++ b/Source/platform/graphics/GraphicsContextState.h
|
| @@ -37,7 +37,6 @@
|
| #include "platform/graphics/StrokeData.h"
|
| #include "platform/graphics/skia/SkiaUtils.h"
|
| #include "third_party/skia/include/core/SkColorFilter.h"
|
| -#include "third_party/skia/include/core/SkImageFilter.h"
|
| #include "third_party/skia/include/core/SkPaint.h"
|
| #include "wtf/PassOwnPtr.h"
|
| #include "wtf/RefPtr.h"
|
| @@ -108,22 +107,17 @@ public:
|
| void setDrawLooper(PassRefPtr<SkDrawLooper>);
|
| void clearDrawLooper();
|
|
|
| - SkImageFilter* dropShadowImageFilter() const { return m_dropShadowImageFilter.get(); }
|
| - void setDropShadowImageFilter(PassRefPtr<SkImageFilter>);
|
| - void clearDropShadowImageFilter();
|
| -
|
| // Text. (See TextModeFill & friends.)
|
| TextDrawingModeFlags textDrawingMode() const { return m_textDrawingMode; }
|
| void setTextDrawingMode(TextDrawingModeFlags mode) { m_textDrawingMode = mode; }
|
|
|
| // Common shader state.
|
| int alpha() const { return m_alpha; }
|
| - void setAlphaAsFloat(float);
|
|
|
| SkColorFilter* colorFilter() const { return m_colorFilter.get(); }
|
| void setColorFilter(PassRefPtr<SkColorFilter>);
|
|
|
| - // Compositing control, for the CSS and Canvas compositing spec.
|
| + // Compositing control, for the CSS spec.
|
| void setCompositeOperation(SkXfermode::Mode);
|
| SkXfermode::Mode compositeOperation() const { return m_compositeOperation; }
|
|
|
| @@ -134,9 +128,6 @@ public:
|
| bool shouldAntialias() const { return m_shouldAntialias; }
|
| void setShouldAntialias(bool);
|
|
|
| - bool shouldClampToSourceRect() const { return m_shouldClampToSourceRect; }
|
| - void setShouldClampToSourceRect(bool shouldClampToSourceRect) { m_shouldClampToSourceRect = shouldClampToSourceRect; }
|
| -
|
| private:
|
| GraphicsContextState();
|
| explicit GraphicsContextState(const GraphicsContextState&);
|
| @@ -165,7 +156,6 @@ private:
|
| RefPtr<Pattern> m_fillPattern;
|
|
|
| RefPtr<SkDrawLooper> m_looper;
|
| - RefPtr<SkImageFilter> m_dropShadowImageFilter;
|
|
|
| TextDrawingModeFlags m_textDrawingMode;
|
|
|
| @@ -179,7 +169,6 @@ private:
|
| uint16_t m_saveCount;
|
|
|
| bool m_shouldAntialias : 1;
|
| - bool m_shouldClampToSourceRect : 1;
|
| };
|
|
|
| } // namespace blink
|
|
|