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

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: fixing component build 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
Index: Source/core/html/HTMLCanvasElement.h
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h
index 6be415675562c61434087b735b415dd7f89d6e67..2be967f6521e3bf1943fd013585f4157295e72b3 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') | Source/core/html/canvas/CanvasRenderingContext2D.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698