summaryrefslogtreecommitdiffstats
path: root/gfx/layers/ImageContainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/ImageContainer.cpp')
-rw-r--r--gfx/layers/ImageContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gfx/layers/ImageContainer.cpp b/gfx/layers/ImageContainer.cpp
index 8a4c03f5a2..bdedccf56d 100644
--- a/gfx/layers/ImageContainer.cpp
+++ b/gfx/layers/ImageContainer.cpp
@@ -34,7 +34,7 @@
#include "nsProxyRelease.h"
#include "nsISupportsUtils.h" // for NS_IF_ADDREF
-#ifdef XP_MACOSX
+#ifdef XP_DARWIN
# include "MacIOSurfaceImage.h"
#endif
@@ -563,7 +563,7 @@ ImageContainer::GetD3D11YCbCrRecycleAllocator(
}
#endif
-#ifdef XP_MACOSX
+#ifdef XP_DARWIN
already_AddRefed<MacIOSurfaceRecycleAllocator>
ImageContainer::GetMacIOSurfaceRecycleAllocator() {
RecursiveMutexAutoLock lock(mRecursiveMutex);