Index: Source/core/html/canvas/CanvasRenderingContext2D.h |
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h |
index 10db03584bdc459b36e7a3f9a008d27c97449789..b5529473d724e1fee8732f4f78dc92ba19aad93c 100644 |
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h |
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h |
@@ -222,7 +222,6 @@ private: |
const CanvasRenderingContext2DState& state() const { return *m_stateStack.last(); } |
void setShadow(const FloatSize& offset, float blur, RGBA32 color); |
- void applyShadow(ShadowMode = DrawShadowAndForeground); |
void dispatchContextLostEvent(Timer<CanvasRenderingContext2D>*); |
void dispatchContextRestoredEvent(Timer<CanvasRenderingContext2D>*); |
@@ -232,17 +231,15 @@ private: |
bool computeDirtyRect(const FloatRect& localBounds, const SkIRect& transformedClipBounds, SkIRect*); |
void didDraw(const SkIRect&); |
- GraphicsContext* drawingContext() const; // Deprecated: use drawingCanvas |
SkCanvas* drawingCanvas() const; |
void unwindStateStack(); |
- void realizeSaves(SkCanvas*); |
+ void realizeSaves(); |
template<typename DrawFunc, typename ContainsFunc> |
bool draw(const DrawFunc&, const ContainsFunc&, const SkRect& bounds, CanvasRenderingContext2DState::PaintType, CanvasRenderingContext2DState::ImageType = CanvasRenderingContext2DState::NoImage); |
void drawPathInternal(const Path&, CanvasRenderingContext2DState::PaintType, SkPath::FillType = SkPath::kWinding_FillType); |
- void drawImageOnContext(CanvasImageSource*, Image*, const FloatRect& srcRect, const FloatRect& dstRect, const SkPaint*); |
- void drawVideo(CanvasImageSource*, const FloatRect& srcRect, const FloatRect& dstRect); |
+ void drawImageInternal(CanvasImageSource*, Image*, const FloatRect& srcRect, const FloatRect& dstRect, const SkPaint*); |
void clipInternal(const Path&, const String& windingRuleString); |
bool isPointInPathInternal(const Path&, const float x, const float y, const String& windingRuleString); |