[GTK] Build fix for Accelerated Compositing with OpenGL
[WebKit-https.git] / Source / WebCore / platform / graphics / texmap / TextureMapperGL.cpp
index e27a6da..658de48 100644 (file)
@@ -21,7 +21,6 @@
 #include "TextureMapperGL.h"
 
 #include "GraphicsContext.h"
-#include "GraphicsSurface.h"
 #include "Image.h"
 #include "TextureMapperShaderManager.h"
 #include "Timer.h"
 #include <wtf/PassRefPtr.h>
 #include <wtf/RefCounted.h>
 
+#if USE(GRAPHICS_SURFACE)
+#include "GraphicsSurface.h"
+#endif
+
 #if PLATFORM(QT)
 #if QT_VERSION >= 0x050000
 #include <QOpenGLContext>