| Index: Source/WebCore/platform/graphics/texmap/TextureMapperImageBuffer.cpp
|
| diff --git a/Source/WebCore/platform/graphics/texmap/TextureMapperImageBuffer.cpp b/Source/WebCore/platform/graphics/texmap/TextureMapperImageBuffer.cpp
|
| index d9a2ffd49d97759f2e04a6b8664ba03fafa594e9..79a38c861dc15f9e1c6d6c31820cb094b4a669aa 100644
|
| --- a/Source/WebCore/platform/graphics/texmap/TextureMapperImageBuffer.cpp
|
| +++ b/Source/WebCore/platform/graphics/texmap/TextureMapperImageBuffer.cpp
|
| @@ -42,13 +42,6 @@ void BitmapTextureImageBuffer::updateContents(const void* data, const IntRect& t
|
| painter->setCompositionMode(QPainter::CompositionMode_Source);
|
| painter->drawImage(targetRect, image, IntRect(sourceOffset, targetRect.size()));
|
| painter->restore();
|
| -#elif PLATFORM(CAIRO)
|
| - RefPtr<cairo_surface_t> surface = adoptRef(cairo_image_surface_create_for_data(static_cast<unsigned char*>(data()),
|
| - CAIRO_FORMAT_ARGB32,
|
| - targetRect.width(), targetRect.height(),
|
| - bytesPerLine));
|
| - m_image->context()->platformContext()->drawSurfaceToContext(surface.get(), targetRect,
|
| - IntRect(sourceOffset, targetRect.size()), m_image->context());
|
| #else
|
| UNUSED_PARAM(data);
|
| UNUSED_PARAM(targetRect);
|
|
|