Index: Source/platform/graphics/ImageBufferSurface.h |
diff --git a/Source/platform/graphics/ImageBufferSurface.h b/Source/platform/graphics/ImageBufferSurface.h |
index dfef1ab4b67ee00ffb8e4140708f8951d64e3daf..556e5dc1f376795f322c3dca4c4e7e3ff941ec70 100644 |
--- a/Source/platform/graphics/ImageBufferSurface.h |
+++ b/Source/platform/graphics/ImageBufferSurface.h |
@@ -31,6 +31,7 @@ |
#ifndef ImageBufferSurface_h |
#define ImageBufferSurface_h |
+#include "Image.h" |
Justin Novosad
2014/07/29 14:56:52
No need for this header.
Rémi Piotaix
2014/07/29 17:18:23
Done.
|
#include "platform/PlatformExport.h" |
#include "platform/geometry/IntSize.h" |
#include "platform/graphics/GraphicsTypes3D.h" |
@@ -76,6 +77,8 @@ public: |
virtual PassRefPtr<SkPicture> getPicture(); |
virtual void didClearCanvas() { } |
+ virtual PassRefPtr<SkImage> newImageSnapshot() const { return nullptr; } |
+ |
OpacityMode opacityMode() const { return m_opacityMode; } |
const IntSize& size() const { return m_size; } |
void notifyIsValidChanged(bool isValid) const; |