Index: Source/platform/graphics/ImageBufferSurface.cpp |
diff --git a/Source/platform/graphics/ImageBufferSurface.cpp b/Source/platform/graphics/ImageBufferSurface.cpp |
index 48e4b9734c3a3d7e4621b03b44e4fb4217be626d..038814f54a4b3e95155d4dcc69e7232acb6c3d10 100644 |
--- a/Source/platform/graphics/ImageBufferSurface.cpp |
+++ b/Source/platform/graphics/ImageBufferSurface.cpp |
@@ -35,6 +35,7 @@ |
#include "platform/graphics/ImageBuffer.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
#include "third_party/skia/include/core/SkDevice.h" |
+#include "third_party/skia/include/core/SkImage.h" |
#include "third_party/skia/include/core/SkPicture.h" |
namespace blink { |
@@ -46,6 +47,8 @@ ImageBufferSurface::ImageBufferSurface(const IntSize& size, OpacityMode opacityM |
setIsHidden(false); |
} |
+ImageBufferSurface::~ImageBufferSurface() { } |
+ |
PassRefPtr<SkPicture> ImageBufferSurface::getPicture() |
{ |
return nullptr; |
@@ -78,4 +81,9 @@ const SkBitmap& ImageBufferSurface::cachedBitmap() const |
return nullBitmap; |
} |
+PassRefPtr<SkImage> ImageBufferSurface::newImageSnapshot() const |
+{ |
+ return nullptr; |
+} |
+ |
} // namespace blink |