Title: [128290] trunk/Source/WebCore
- Revision
- 128290
- Author
- o...@webkit.org
- Date
- 2012-09-12 04:34:34 -0700 (Wed, 12 Sep 2012)
Log Message
Build with ENABLE_REQUEST_ANIMATION_FRAME=0 is broken
https://bugs.webkit.org/show_bug.cgi?id=96491
Patch by Simon Hausmann <simon.hausm...@nokia.com> on 2012-09-12
Reviewed by Csaba Osztrogonác.
In the IDL file, don't just check for the define, also check if it's set to 1 before enabling the
RAF APIs. It's done like this with all the other feature defines in IDL files.
* page/DOMWindow.idl:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (128289 => 128290)
--- trunk/Source/WebCore/ChangeLog 2012-09-12 10:20:00 UTC (rev 128289)
+++ trunk/Source/WebCore/ChangeLog 2012-09-12 11:34:34 UTC (rev 128290)
@@ -1,3 +1,15 @@
+2012-09-12 Simon Hausmann <simon.hausm...@nokia.com>
+
+ Build with ENABLE_REQUEST_ANIMATION_FRAME=0 is broken
+ https://bugs.webkit.org/show_bug.cgi?id=96491
+
+ Reviewed by Csaba Osztrogonác.
+
+ In the IDL file, don't just check for the define, also check if it's set to 1 before enabling the
+ RAF APIs. It's done like this with all the other feature defines in IDL files.
+
+ * page/DOMWindow.idl:
+
2012-09-12 Vivek Galatage <vivekgalat...@gmail.com>
Web Inspector: InspectorBackend.loadFromJSONIfNeeded should take the JSON url as argument
Modified: trunk/Source/WebCore/page/DOMWindow.idl (128289 => 128290)
--- trunk/Source/WebCore/page/DOMWindow.idl 2012-09-12 10:20:00 UTC (rev 128289)
+++ trunk/Source/WebCore/page/DOMWindow.idl 2012-09-12 11:34:34 UTC (rev 128290)
@@ -211,7 +211,7 @@
// [Custom] long setInterval(in DOMString code, in long timeout);
void clearInterval(in [Optional=DefaultIsUndefined] long handle);
-#if defined(ENABLE_REQUEST_ANIMATION_FRAME)
+#if defined(ENABLE_REQUEST_ANIMATION_FRAME) && ENABLE_REQUEST_ANIMATION_FRAME
// WebKit animation extensions, being standardized in the WebPerf WG
long webkitRequestAnimationFrame(in [Callback] RequestAnimationFrameCallback callback);
void webkitCancelAnimationFrame(in long id);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes