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

Unified Diff: Source/core/html/HTMLCanvasElement.h

Issue 895153002: Make CanvasRenderingContext2D use SkCanvas directly (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix issue with the copy composite operator Created 5 years, 10 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
« no previous file with comments | « no previous file | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCanvasElement.h
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
index 61e53bdc66764298d772f4871fc06de69dd235ae..49468ddb3141ecd9e1f9cb54577f08be66ffa513 100644
--- a/Source/core/html/HTMLCanvasElement.h
+++ b/Source/core/html/HTMLCanvasElement.h
@@ -117,8 +117,10 @@ public:
void paint(GraphicsContext*, const LayoutRect&);
- GraphicsContext* drawingContext() const;
- GraphicsContext* existingDrawingContext() const;
+ GraphicsContext* drawingContext() const; // Deprecated: use drawingCanvas
+ GraphicsContext* existingDrawingContext() const; // Deprecated: use existingDrawingCanvas
+ SkCanvas* drawingCanvas() const;
+ SkCanvas* existingDrawingCanvas() const;
CanvasRenderingContext* renderingContext() const { return m_context.get(); }
« no previous file with comments | « no previous file | Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698