Index: Source/WebCore/platform/mac/ScrollAnimatorMac.mm |
=================================================================== |
--- Source/WebCore/platform/mac/ScrollAnimatorMac.mm (revision 120629) |
+++ Source/WebCore/platform/mac/ScrollAnimatorMac.mm (working copy) |
@@ -591,7 +591,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"]; |