Index: Source/core/platform/graphics/ImageBuffer.h |
diff --git a/Source/core/platform/graphics/ImageBuffer.h b/Source/core/platform/graphics/ImageBuffer.h |
index 9f13b8c8da89822c731eb4f3da2e2f4443261bd0..7a8e0ae8ec8b9115aa174d0c879fb177f20140db 100644 |
--- a/Source/core/platform/graphics/ImageBuffer.h |
+++ b/Source/core/platform/graphics/ImageBuffer.h |
@@ -85,10 +85,10 @@ class ImageBuffer { |
WTF_MAKE_NONCOPYABLE(ImageBuffer); WTF_MAKE_FAST_ALLOCATED; |
public: |
// Will return a null pointer on allocation failure. |
- static PassOwnPtr<ImageBuffer> create(const IntSize& size, float resolutionScale = 1, RenderingMode renderingMode = Unaccelerated, OpacityMode opacityMode = NonOpaque) |
+ static PassOwnPtr<ImageBuffer> create(const IntSize& size, float resolutionScale = 1, RenderingMode renderingMode = Unaccelerated, OpacityMode opacityMode = NonOpaque, int acceleratedMSAASampleCount = 0) |
{ |
bool success = false; |
- OwnPtr<ImageBuffer> buf = adoptPtr(new ImageBuffer(size, resolutionScale, renderingMode, opacityMode, success)); |
+ OwnPtr<ImageBuffer> buf = adoptPtr(new ImageBuffer(size, resolutionScale, renderingMode, opacityMode, acceleratedMSAASampleCount, success)); |
if (!success) |
return nullptr; |
return buf.release(); |
@@ -148,7 +148,7 @@ private: |
// This constructor will place its success into the given out-variable |
// so that create() knows when it should return failure. |
- ImageBuffer(const IntSize&, float resolutionScale, RenderingMode, OpacityMode, bool& success); |
+ ImageBuffer(const IntSize&, float resolutionScale, RenderingMode, OpacityMode, int acceleratedSampleCount, bool& success); |
Stephen White
2013/10/18 20:13:12
Ubernit: this is called acceleratedSampleCount her
bsalomon
2013/10/21 13:48:47
nope, changed the cpp to match the header.
|
ImageBuffer(const IntSize&, float resolutionScale, const GraphicsContext*, bool hasAlpha, bool& success); |
}; |