Index: Source/core/html/HTMLCanvasElement.h |
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h |
index ba89f02317fb25cc216e7952615a43482c39e8fc..60a1a606b259de724848dd38c51d0fb124517c08 100644 |
--- a/Source/core/html/HTMLCanvasElement.h |
+++ b/Source/core/html/HTMLCanvasElement.h |
@@ -101,6 +101,7 @@ public: |
} |
CanvasRenderingContext* getContext(const String&, CanvasContextAttributes* attributes = 0); |
+ bool isPaintable() const; |
static String toEncodingMimeType(const String& mimeType); |
String toDataURL(const String& mimeType, const double* quality, ExceptionState&) const; |
@@ -119,7 +120,7 @@ public: |
void ensureUnacceleratedImageBuffer(); |
ImageBuffer* buffer() const; |
- Image* copiedImage(SourceDrawingBuffer) const; |
+ PassRefPtr<Image> copiedImage(SourceDrawingBuffer) const; |
void clearCopiedImage(); |
SecurityOrigin* securityOrigin() const; |