Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(852)

Unified Diff: Source/core/html/canvas/CanvasRenderingContext2D.h

Issue 1008173003: Move SkPaint mangement for 2D canvas into CanvasRenderingContext2DState (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixup2 Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/canvas/CanvasRenderingContext2D.h
diff --git a/Source/core/html/canvas/CanvasRenderingContext2D.h b/Source/core/html/canvas/CanvasRenderingContext2D.h
index e132f848d2c7a55197bdba337485a8b223c67d2c..145b0765b5cedea092f863d67cc78a5f13bf5897 100644
--- a/Source/core/html/canvas/CanvasRenderingContext2D.h
+++ b/Source/core/html/canvas/CanvasRenderingContext2D.h
@@ -223,7 +223,6 @@ private:
void applyLineDash() const;
void setShadow(const FloatSize& offset, float blur, RGBA32 color);
void applyShadow(ShadowMode = DrawShadowAndForeground);
- bool shouldDrawShadows() const;
void dispatchContextLostEvent(Timer<CanvasRenderingContext2D>*);
void dispatchContextRestoredEvent(Timer<CanvasRenderingContext2D>*);
@@ -261,7 +260,8 @@ private:
void inflateStrokeRect(FloatRect&) const;
- void fullCanvasCompositedDraw(PassOwnPtr<Closure> draw);
+ void fullCanvasCompositedDraw(PassOwnPtr<Closure> draw); // deprecated
Stephen White 2015/03/19 20:35:17 Could you log a bug for updating/removing this dep
Justin Novosad 2015/03/19 21:03:36 I already have to remove this function as a part o
Stephen White 2015/03/24 15:52:05 Acknowledged.
+ void fullCanvasCompositedDraw(PassOwnPtr<Function<void(SkCanvas*, const SkPaint*)>>, CanvasPaintType, CanvasShadowStrategy);
void drawFocusIfNeededInternal(const Path&, Element*);
bool focusRingCallIsValid(const Path&, Element*);

Powered by Google App Engine
This is Rietveld 408576698