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); |