summaryrefslogtreecommitdiffstats
path: root/gfx/layers/SurfacePool.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/SurfacePool.h')
-rw-r--r--gfx/layers/SurfacePool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/layers/SurfacePool.h b/gfx/layers/SurfacePool.h
index eecb398d85..6be3718af5 100644
--- a/gfx/layers/SurfacePool.h
+++ b/gfx/layers/SurfacePool.h
@@ -31,7 +31,7 @@ class SurfacePool {
public:
NS_INLINE_DECL_THREADSAFE_REFCOUNTING(SurfacePool);
-#if defined(XP_MACOSX) || defined(MOZ_WAYLAND)
+#if defined(XP_DARWIN) || defined(MOZ_WAYLAND)
static RefPtr<SurfacePool> Create(size_t aPoolSizeLimit);
#endif