diff options
Diffstat (limited to 'Source/WebKit2/Shared/WebPlatformTouchPoint.cpp')
-rw-r--r-- | Source/WebKit2/Shared/WebPlatformTouchPoint.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/WebKit2/Shared/WebPlatformTouchPoint.cpp b/Source/WebKit2/Shared/WebPlatformTouchPoint.cpp index f15201383..6ebf4f53c 100644 --- a/Source/WebKit2/Shared/WebPlatformTouchPoint.cpp +++ b/Source/WebKit2/Shared/WebPlatformTouchPoint.cpp @@ -27,7 +27,7 @@ #include "config.h" #include "WebEvent.h" -#if ENABLE(TOUCH_EVENTS) +#if ENABLE(TOUCH_EVENTS) && !PLATFORM(IOS) #include "Arguments.h" #include "WebCoreArgumentCoders.h" @@ -57,7 +57,7 @@ WebPlatformTouchPoint::WebPlatformTouchPoint(unsigned id, TouchPointState state, { } -void WebPlatformTouchPoint::encode(CoreIPC::ArgumentEncoder& encoder) const +void WebPlatformTouchPoint::encode(IPC::ArgumentEncoder& encoder) const { encoder << m_id; encoder << m_state; @@ -68,7 +68,7 @@ void WebPlatformTouchPoint::encode(CoreIPC::ArgumentEncoder& encoder) const encoder << m_force; } -bool WebPlatformTouchPoint::decode(CoreIPC::ArgumentDecoder& decoder, WebPlatformTouchPoint& result) +bool WebPlatformTouchPoint::decode(IPC::ArgumentDecoder& decoder, WebPlatformTouchPoint& result) { if (!decoder.decode(result.m_id)) return false; @@ -90,4 +90,4 @@ bool WebPlatformTouchPoint::decode(CoreIPC::ArgumentDecoder& decoder, WebPlatfor } // namespace WebKit -#endif // ENABLE(TOUCH_EVENTS) +#endif // ENABLE(TOUCH_EVENTS) && !PLATFORM(IOS) |