[WK2][EFL] Add guard around NativeWebTouchEvent
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2013 07:07:18 +0000 (07:07 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 10 Jan 2013 07:07:18 +0000 (07:07 +0000)
https://bugs.webkit.org/show_bug.cgi?id=105846

Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-01-09
Reviewed by Benjamin Poulain.

Fix EFL build without TOUCH_EVENTS.

* Shared/efl/NativeWebTouchEventEfl.cpp: Add TOUCH_EVENTS guard.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@139287 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/efl/NativeWebTouchEventEfl.cpp

index a2e8825..a96516f 100644 (file)
@@ -1,3 +1,14 @@
+2013-01-09  Seokju Kwon  <seokju.kwon@gmail.com>
+
+        [WK2][EFL] Add guard around NativeWebTouchEvent
+        https://bugs.webkit.org/show_bug.cgi?id=105846
+
+        Reviewed by Benjamin Poulain.
+
+        Fix EFL build without TOUCH_EVENTS.
+
+        * Shared/efl/NativeWebTouchEventEfl.cpp: Add TOUCH_EVENTS guard.
+
 2013-01-09  Huang Dongsung  <luxtella@company100.net>
 
         Remove deviceScaleFactor argument in computeMinimumScaleFactorForContentContained().
index 004ca35..7279683 100644 (file)
  */
 
 #include "config.h"
+
+#if ENABLE(TOUCH_EVENTS)
 #include "NativeWebTouchEvent.h"
 
 #include "WebEventFactory.h"
 
-#if ENABLE(TOUCH_EVENTS)
-
 namespace WebKit {
 
 NativeWebTouchEvent::NativeWebTouchEvent(Ewk_Touch_Event_Type type, const Eina_List* points, const Evas_Modifier* modifiers, const WebCore::AffineTransform& toWebContent, const WebCore::AffineTransform& toDeviceScreen, double timestamp)