Index: Source/core/html/HTMLCanvasElement.h |
diff --git a/Source/core/html/HTMLCanvasElement.h b/Source/core/html/HTMLCanvasElement.h |
index 1338d3d3cd09a0b6578ebc3f146544d6c7b89afc..73f6514589fe03833240ee50a0f0ccd0ee75c8ba 100644 |
--- a/Source/core/html/HTMLCanvasElement.h |
+++ b/Source/core/html/HTMLCanvasElement.h |
@@ -55,6 +55,7 @@ class HTMLCanvasElement; |
class Image; |
class ImageBuffer; |
class ImageBufferSurface; |
+class ImageData; |
class IntSize; |
class CORE_EXPORT CanvasObserver : public WillBeGarbageCollectedMixin { |
@@ -199,6 +200,7 @@ private: |
bool paintsIntoCanvasBuffer() const; |
+ ImageData* toImageData(SourceDrawingBuffer) const; |
String toDataURLInternal(const String& mimeType, const double* quality, SourceDrawingBuffer) const; |
WillBeHeapHashSet<RawPtrWillBeWeakMember<CanvasObserver>> m_observers; |