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