Index: Source/platform/graphics/ImageBuffer.cpp |
diff --git a/Source/platform/graphics/ImageBuffer.cpp b/Source/platform/graphics/ImageBuffer.cpp |
index ef575f944a61c02525b62a13ed0d12d395cd300d..c8f21e683380f8ddcb9728c7161ca2bc412a4bbe 100644 |
--- a/Source/platform/graphics/ImageBuffer.cpp |
+++ b/Source/platform/graphics/ImageBuffer.cpp |
@@ -130,6 +130,11 @@ void ImageBuffer::didPresent() |
m_client->didPresent(); |
} |
+PassRefPtr<SkImage> ImageBuffer::newImageSnapshot() const |
+{ |
+ return m_surface->newImageSnapshot(); |
+} |
+ |
static SkBitmap deepSkBitmapCopy(const SkBitmap& bitmap) |
{ |
SkBitmap tmp; |