Index: Source/WebCore/html/HTMLCanvasElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLCanvasElement.cpp (revision 106844) |
+++ Source/WebCore/html/HTMLCanvasElement.cpp (working copy) |
@@ -458,7 +458,12 @@ |
if (!bufferSize.width() || !bufferSize.height()) |
return; |
- RenderingMode renderingMode = shouldAccelerate(bufferSize) ? Accelerated : Unaccelerated; |
+ RenderingMode renderingMode = shouldAccelerate(bufferSize) ? Accelerated : |
+#if USE(SKIA) |
+ UnacceleratedNonPlatformBuffer; |
+#else |
+ Unaccelerated; |
+#endif |
m_imageBuffer = ImageBuffer::create(bufferSize, ColorSpaceDeviceRGB, renderingMode); |
if (!m_imageBuffer) |
return; |