Index: Source/platform/graphics/ImageBufferSurface.cpp |
diff --git a/Source/platform/graphics/ImageBufferSurface.cpp b/Source/platform/graphics/ImageBufferSurface.cpp |
index 63689f23d5e6dec89fb75d0f303ee1cdfc3f5f33..2869f4cc29ae5a05d3d2daffbcf23b52930bd775 100644 |
--- a/Source/platform/graphics/ImageBufferSurface.cpp |
+++ b/Source/platform/graphics/ImageBufferSurface.cpp |
@@ -32,11 +32,19 @@ |
#include "platform/graphics/ImageBufferSurface.h" |
+#include "platform/graphics/ImageBuffer.h" |
#include "third_party/skia/include/core/SkCanvas.h" |
#include "third_party/skia/include/core/SkDevice.h" |
namespace WebCore { |
+ImageBufferSurface::ImageBufferSurface(const IntSize& size, OpacityMode opacityMode) |
+ : m_opacityMode(opacityMode) |
+ , m_size(size) |
+{ |
+ setIsHidden(false); |
+} |
+ |
void ImageBufferSurface::clear() |
{ |
// Clear the background transparent or opaque, as required. It would be nice if this wasn't |