[GTK] Build fix for Accelerated Compositing with OpenGL
[WebKit-https.git] / Source / WebCore / platform / graphics / texmap / TextureMapperBackingStore.h
index 691cc9a..95abe53 100644 (file)
 #define TextureMapperBackingStore_h
 
 #include "FloatRect.h"
-#include "GraphicsSurface.h"
 #include "Image.h"
 #include "TextureMapper.h"
 #include "TextureMapperPlatformLayer.h"
-
 #include <wtf/RefPtr.h>
 
+#if USE(GRAPHICS_SURFACE)
+#include "GraphicsSurface.h"
+#endif
+
 namespace WebCore {
 
 class GraphicsLayer;