Index: Source/core/html/HTMLCanvasElement.h |
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h |
index ba89f02317fb25cc216e7952615a43482c39e8fc..af06538a5cfbf265e17f6aa04f9214b2130231d4 100644 |
--- a/Source/core/html/HTMLCanvasElement.h |
+++ b/Source/core/html/HTMLCanvasElement.h |
@@ -119,7 +119,7 @@ public: |
void ensureUnacceleratedImageBuffer(); |
ImageBuffer* buffer() const; |
- Image* copiedImage(SourceDrawingBuffer) const; |
+ PassRefPtr<Image> copiedImage(SourceDrawingBuffer) const; |
void clearCopiedImage(); |
SecurityOrigin* securityOrigin() const; |
@@ -132,6 +132,7 @@ public: |
bool hasImageBuffer() const { return m_imageBuffer; } |
bool hasValidImageBuffer() const; |
+ bool canCreateImageBuffer() const; |
void discardImageBuffer(); |
bool shouldAccelerate(const IntSize&) const; |