Index: Source/core/platform/image-decoders/ImageDecoder.h |
diff --git a/Source/core/platform/image-decoders/ImageDecoder.h b/Source/core/platform/image-decoders/ImageDecoder.h |
index 9aa4b9b00cf10c9ed5bdb68aebcef46ac80b7726..2beba3ec2cbc2feecfee8eb0131fb7c2b4f655e4 100644 |
--- a/Source/core/platform/image-decoders/ImageDecoder.h |
+++ b/Source/core/platform/image-decoders/ImageDecoder.h |
@@ -40,7 +40,7 @@ |
#if USE(QCMSLIB) |
#include "qcms.h" |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
#include <ApplicationServices/ApplicationServices.h> |
#include "core/platform/graphics/cg/GraphicsContextCG.h" |
#include "wtf/RetainPtr.h" |
@@ -357,7 +357,7 @@ namespace WebCore { |
if (!qcmsInitialized) { |
qcmsInitialized = true; |
// FIXME: Add optional ICCv4 support. |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
RetainPtr<CGColorSpaceRef> monitorColorSpace(AdoptCF, CGDisplayCopyColorSpace(CGMainDisplayID())); |
CFDataRef iccProfile(CGColorSpaceCopyICCProfile(monitorColorSpace.get())); |
if (iccProfile) { |