Index: Source/core/html/shadow/SpinButtonElement.cpp |
diff --git a/Source/core/html/shadow/SpinButtonElement.cpp b/Source/core/html/shadow/SpinButtonElement.cpp |
index ae0bc7f1bb1314749ee767c6a545b0376a17284d..4521b32612b54d3311203db3676c9de08e9aa7e6 100644 |
--- a/Source/core/html/shadow/SpinButtonElement.cpp |
+++ b/Source/core/html/shadow/SpinButtonElement.cpp |
@@ -230,7 +230,7 @@ void SpinButtonElement::step(int amount) |
// On Mac OS, NSStepper updates the value for the button under the mouse |
// cursor regardless of the button pressed at the beginning. So the |
// following check is not needed for Mac OS. |
-#if !OS(DARWIN) |
+#if !OS(MACOSX) |
if (m_upDownState != m_pressStartingState) |
return; |
#endif |