Commit 37aceac7 authored by abarth@webkit.org's avatar abarth@webkit.org
Browse files

2010-03-12 Garret Kelly <gdk@chromium.org>

        Unreviewed.

        Fix Chromium Mac build.

        * src/WebInputEventConversion.cpp:
        (WebKit::toPlatformTouchEventType):
        (WebKit::toPlatformTouchPointState):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9f47d581
2010-03-12 Garret Kelly <gdk@chromium.org>
Unreviewed.
Fix Chromium Mac build.
* src/WebInputEventConversion.cpp:
(WebKit::toPlatformTouchEventType):
(WebKit::toPlatformTouchPointState):
2010-03-12 Garret Kelly <gdk@chromium.org>
Reviewed by Eric Seidel.
......
......@@ -184,6 +184,7 @@ static inline TouchEventType toPlatformTouchEventType(const WebInputEvent::Type
default:
ASSERT_NOT_REACHED();
}
return WebInputEvent::Undefined;
}
static inline PlatformTouchPoint::State toPlatformTouchPointState(const WebTouchPoint::State state)
......@@ -202,6 +203,7 @@ static inline PlatformTouchPoint::State toPlatformTouchPointState(const WebTouch
case WebTouchPoint::StateUndefined:
ASSERT_NOT_REACHED();
}
return WebTouchPoint::StateUndefined;
}
PlatformTouchPointBuilder::PlatformTouchPointBuilder(Widget* widget, const WebTouchPoint& point)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment