Index: Source/platform/graphics/UnacceleratedImageBufferSurface.cpp |
diff --git a/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp b/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp |
index c7696ce2fbb2ba4c653488bb552ad883a37ccb70..35ea4f7cd49b69cc1ee56f43d449cf600363dcaa 100644 |
--- a/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp |
+++ b/Source/platform/graphics/UnacceleratedImageBufferSurface.cpp |
@@ -56,4 +56,9 @@ bool UnacceleratedImageBufferSurface::isValid() const |
return m_surface; |
} |
+PassRefPtr<SkImage> UnacceleratedImageBufferSurface::newImageSnapshot() const |
+{ |
+ return adoptRef(m_surface->newImageSnapshot()); |
+} |
+ |
} // namespace blink |