Index: Source/platform/graphics/GraphicsContext.h |
diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h |
index 934120731552e98e8a80b26a9ca787fe7d24f6a7..0ef3cc1e3b805193a5ef687137507b56eb4bec01 100644 |
--- a/Source/platform/graphics/GraphicsContext.h |
+++ b/Source/platform/graphics/GraphicsContext.h |
@@ -61,7 +61,6 @@ class ClipRecorderStack; |
class DisplayItemList; |
class ImageBuffer; |
class KURL; |
-class GraphicsContextClient; |
class PLATFORM_EXPORT GraphicsContext { |
WTF_MAKE_NONCOPYABLE(GraphicsContext); WTF_MAKE_FAST_ALLOCATED; |
@@ -106,10 +105,6 @@ public: |
bool hasStroke() const { return strokeStyle() != NoStroke && strokeThickness() > 0; } |
- // Returns true if the clip is anything more than an intersection of rectangles |
- bool hasComplexClip() const { return immutableState()->hasComplexClip(); } |
- void setHasComplexClip() { mutableState()->setHasComplexClip(); } |
- |
float strokeThickness() const { return immutableState()->strokeData().thickness(); } |
void setStrokeThickness(float thickness) { mutableState()->setStrokeThickness(thickness); } |
@@ -204,8 +199,6 @@ public: |
bool isAccelerated() const { return m_accelerated; } |
void setAccelerated(bool accelerated) { m_accelerated = accelerated; } |
- void setClient(GraphicsContextClient*); |
- |
// The text region is empty until tracking is turned on. |
// It is never clerared by the context. |
void setTrackTextRegion(bool track) { m_trackTextRegion = track; } |
@@ -470,8 +463,6 @@ private: |
// null indicates painting is contextDisabled. Never delete this object. |
SkCanvas* m_canvas; |
- GraphicsContextClient* m_client; |
- |
// This being null indicates not to paint into a DisplayItemList, and instead directly into the canvas. |
DisplayItemList* m_displayItemList; |