| Index: Source/platform/graphics/GraphicsContext.h
|
| diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h
|
| index d6e8985933b5592f797b812e0a6424ac4c16b3d9..3c59c53735b1dc12a23af0e8442bcbdad118148b 100644
|
| --- a/Source/platform/graphics/GraphicsContext.h
|
| +++ b/Source/platform/graphics/GraphicsContext.h
|
| @@ -237,7 +237,7 @@ public:
|
| AnnotationModeFlags annotationMode() const { return m_annotationMode; }
|
| void setAnnotationMode(const AnnotationModeFlags mode) { m_annotationMode = mode; }
|
|
|
| - SkColorFilter* colorFilter();
|
| + SkColorFilter* colorFilter() const;
|
| void setColorFilter(ColorFilter);
|
| // ---------- End state management methods -----------------
|
|
|
| @@ -411,6 +411,14 @@ public:
|
| void beginAnnotation(const AnnotationList&);
|
| void endAnnotation();
|
|
|
| + void preparePaintForDrawRectToRect(
|
| + SkPaint*,
|
| + const SkRect& srcRect,
|
| + const SkRect& destRect,
|
| + CompositeOperator,
|
| + blink::WebBlendMode,
|
| + bool isLazyDecoded = false,
|
| + bool isDataComplete = true) const;
|
| private:
|
| const GraphicsContextState* immutableState() const { return m_paintState; }
|
|
|
|
|