Index: Source/core/platform/graphics/gpu/DrawingBuffer.cpp |
diff --git a/Source/core/platform/graphics/gpu/DrawingBuffer.cpp b/Source/core/platform/graphics/gpu/DrawingBuffer.cpp |
index 052409225a64d258a71534d80e7aaaa2e48f529a..11f4b504d18f17ea69e2dfeca4ca245fbea9d450 100644 |
--- a/Source/core/platform/graphics/gpu/DrawingBuffer.cpp |
+++ b/Source/core/platform/graphics/gpu/DrawingBuffer.cpp |
@@ -650,7 +650,7 @@ void DrawingBuffer::reset(const IntSize& newSize) |
continue; |
} |
-#if OS(DARWIN) |
+#if OS(MACOSX) |
// FIXME: This can be removed once renderbufferStorageMultisample starts reporting GL_OUT_OF_MEMORY properly on OSX. |
if (!checkBufferIntegrity()) { |
adjustedSize.scale(s_resourceAdjustedRatio); |