summaryrefslogtreecommitdiffstats
path: root/Source/JavaScriptCore/wtf/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/wtf/Platform.h')
-rw-r--r--Source/JavaScriptCore/wtf/Platform.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/wtf/Platform.h b/Source/JavaScriptCore/wtf/Platform.h
index 41850ee..7429d98 100644
--- a/Source/JavaScriptCore/wtf/Platform.h
+++ b/Source/JavaScriptCore/wtf/Platform.h
@@ -2,6 +2,7 @@
* Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
* Copyright (C) 2007-2009 Torch Mobile, Inc.
* Copyright (C) Research In Motion Limited 2010. All rights reserved.
+ * Copyright (C) 2011, Sony Ericsson Mobile Communications AB
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -709,6 +710,9 @@
#define ENABLE_SVG 0
#endif
#define ENABLE_VIDEO 1
+#if defined(ENABLE_WEBGL)
+#define ENABLE_WEBGL 1
+#endif
#if ENABLE_SVG
#if !defined(ENABLE_SVG_ANIMATION)
#define ENABLE_SVG_ANIMATION 0
@@ -1304,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 */