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

Unified Diff: Source/platform/graphics/ImageBuffer.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/platform/graphics/ImageBuffer.h
diff --git a/Source/platform/graphics/ImageBuffer.h b/Source/platform/graphics/ImageBuffer.h
index eb6fb469cf5ff4ae1bb689253268aa4ccd6f4297..aeb3dd88bfd8093dc26df567731d424a0e4232f4 100644
--- a/Source/platform/graphics/ImageBuffer.h
+++ b/Source/platform/graphics/ImageBuffer.h
@@ -102,7 +102,8 @@ public:
void willDrawVideo() { m_surface->willDrawVideo(); }
- GraphicsContext* context() const;
+ GraphicsContext* context() const; // Deprecated: use canvas()
+ SkCanvas* canvas() const;
// Called at the end of a task that rendered a whole frame
void finalizeFrame(const FloatRect &dirtyRect);

Powered by Google App Engine
This is Rietveld 408576698