Index: Source/WebCore/platform/mac/ScrollAnimatorMac.mm |
=================================================================== |
--- Source/WebCore/platform/mac/ScrollAnimatorMac.mm (revision 120989) |
+++ Source/WebCore/platform/mac/ScrollAnimatorMac.mm (working copy) |
@@ -635,7 +635,7 @@ |
static bool scrollAnimationEnabledForSystem() |
{ |
-#if defined(BUILDING_ON_SNOW_LEOPARD) || defined(BUILDING_ON_LION) |
+#if defined(BUILDING_ON_SNOW_LEOPARD) || defined(BUILDING_ON_LION) || PLATFORM(CHROMIUM) |
return [[NSUserDefaults standardUserDefaults] boolForKey:@"AppleScrollAnimationEnabled"]; |
#else |
return [[NSUserDefaults standardUserDefaults] boolForKey:@"NSScrollAnimationEnabled"]; |