diff options
Diffstat (limited to 'Source/JavaScriptCore')
-rw-r--r-- | Source/JavaScriptCore/ChangeLog | 13 | ||||
-rw-r--r-- | Source/JavaScriptCore/wtf/Platform.h | 4 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog index bb10264..ff56652 100644 --- a/Source/JavaScriptCore/ChangeLog +++ b/Source/JavaScriptCore/ChangeLog @@ -1,3 +1,16 @@ +2011-09-09 Chris Marrin <cmarrin@apple.com> + + requestAnimationFrame doesn't throttle on Mac + https://bugs.webkit.org/show_bug.cgi?id=67171 + + Reviewed by Simon Fraser. + + Added WTF_USE_REQUEST_ANIMATION_FRAME_TIMER to allow any platform to run + requestAnimationFrame callbacks on a Timer defined in ScriptedAnimationController. + Currently only enabled for PLATFORM(MAC) + + * wtf/Platform.h: + 2011-04-19 Oliver Hunt <oliver@apple.com> Reviewed by Gavin Barraclough. diff --git a/Source/JavaScriptCore/wtf/Platform.h b/Source/JavaScriptCore/wtf/Platform.h index 4f9fd3c..7429d98 100644 --- a/Source/JavaScriptCore/wtf/Platform.h +++ b/Source/JavaScriptCore/wtf/Platform.h @@ -1308,4 +1308,8 @@ #define WTF_USE_UNIX_DOMAIN_SOCKETS 1 #endif +#if PLATFORM(MAC) || PLATFORM(ANDROID) +#define WTF_USE_REQUEST_ANIMATION_FRAME_TIMER 1 +#endif + #endif /* WTF_Platform_h */ |