[CoordGraphics] Fix compilation errors around USE(COORDINATED_GRAPHICS)
[WebKit-https.git] / Source / WebCore / platform / graphics / nicosia / NicosiaPaintingEngineThreaded.h
index 391c8cc..2f1ff80 100644 (file)
@@ -28,6 +28,8 @@
 
 #pragma once
 
+#if USE(COORDINATED_GRAPHICS_THREADED)
+
 #include "NicosiaPaintingEngine.h"
 
 typedef struct _GThreadPool GThreadPool;
@@ -46,3 +48,5 @@ private:
 };
 
 } // namespace Nicosia
+
+#endif // USE(COORDINATED_GRAPHICS_THREADED)