Title: [126022] trunk/Source/WebKit/efl
- Revision
- 126022
- Author
- [email protected]
- Date
- 2012-08-20 05:45:19 -0700 (Mon, 20 Aug 2012)
Log Message
Regression(r124945): Build is broken when touch events is disabled
https://bugs.webkit.org/show_bug.cgi?id=94466
Patch by Thiago Marcos P. Santos <[email protected]> on 2012-08-20
Reviewed by Kenneth Rohde Christiansen.
Added missing guards around touch events code.
* ewk/ewk_touch_event.cpp:
* ewk/ewk_touch_event_private.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit/efl/ChangeLog (126021 => 126022)
--- trunk/Source/WebKit/efl/ChangeLog 2012-08-20 12:25:57 UTC (rev 126021)
+++ trunk/Source/WebKit/efl/ChangeLog 2012-08-20 12:45:19 UTC (rev 126022)
@@ -1,3 +1,15 @@
+2012-08-20 Thiago Marcos P. Santos <[email protected]>
+
+ Regression(r124945): Build is broken when touch events is disabled
+ https://bugs.webkit.org/show_bug.cgi?id=94466
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Added missing guards around touch events code.
+
+ * ewk/ewk_touch_event.cpp:
+ * ewk/ewk_touch_event_private.h:
+
2012-08-17 Thiago Marcos P. Santos <[email protected]>
[EFL] Change font family/script on layout tests causes flakiness
Modified: trunk/Source/WebKit/efl/ewk/ewk_touch_event.cpp (126021 => 126022)
--- trunk/Source/WebKit/efl/ewk/ewk_touch_event.cpp 2012-08-20 12:25:57 UTC (rev 126021)
+++ trunk/Source/WebKit/efl/ewk/ewk_touch_event.cpp 2012-08-20 12:45:19 UTC (rev 126022)
@@ -25,6 +25,8 @@
#include "config.h"
+#if ENABLE(TOUCH_EVENTS)
+
#include "PlatformTouchPoint.h"
#include "ewk_touch_event_private.h"
#include <Ecore_Input.h>
@@ -92,3 +94,5 @@
}
}
+
+#endif // ENABLE(TOUCH_EVENTS)
Modified: trunk/Source/WebKit/efl/ewk/ewk_touch_event_private.h (126021 => 126022)
--- trunk/Source/WebKit/efl/ewk/ewk_touch_event_private.h 2012-08-20 12:25:57 UTC (rev 126021)
+++ trunk/Source/WebKit/efl/ewk/ewk_touch_event_private.h 2012-08-20 12:45:19 UTC (rev 126022)
@@ -26,6 +26,8 @@
#ifndef ewk_touch_event_private_h
#define ewk_touch_event_private_h
+#if ENABLE(TOUCH_EVENTS)
+
#include "PlatformTouchEvent.h"
#include "ewk_frame.h"
@@ -33,4 +35,6 @@
WebCore::PlatformTouchEvent platformTouchEvent(Evas_Coord x, Evas_Coord y, Eina_List* points, Ewk_Touch_Event_Type action, unsigned modifiers);
} // namespace EWKPrivate
+#endif // ENABLE(TOUCH_EVENTS)
+
#endif // ewk_touch_event_private_h
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes