summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/ImageBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/ImageBuffer.cpp')
-rw-r--r--Source/WebCore/platform/graphics/ImageBuffer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/ImageBuffer.cpp b/Source/WebCore/platform/graphics/ImageBuffer.cpp
index 2ace73c28..d3c3ae644 100644
--- a/Source/WebCore/platform/graphics/ImageBuffer.cpp
+++ b/Source/WebCore/platform/graphics/ImageBuffer.cpp
@@ -153,10 +153,12 @@ void ImageBuffer::convertToLuminanceMask()
}
#if !USE(CAIRO)
+#if !PLATFORM(QT)
PlatformLayer* ImageBuffer::platformLayer() const
{
return 0;
}
+#endif
bool ImageBuffer::copyToPlatformTexture(GraphicsContext3D&, GC3Denum, Platform3DObject, GC3Denum, bool, bool)
{