https://bugs.webkit.org/show_bug.cgi?id=81563
Patch by Robert Kroeger <rjkroege@chromium.org> on 2012-03-19
Reviewed by James Robinson.
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::gestureEvent):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111314
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-03-19 Robert Kroeger <rjkroege@chromium.org>
+
+ [chromium] return true/false on GestureFlingCancel if a fling was stopped
+ https://bugs.webkit.org/show_bug.cgi?id=81563
+
+ Reviewed by James Robinson.
+
+ * src/WebViewImpl.cpp:
+ (WebKit::WebViewImpl::gestureEvent):
+
2012-03-19 Michal Mocny <mmocny@google.com>
[chromium] Adding support for GL_EXT_discard_framebuffer.
return true;
}
case WebInputEvent::GestureFlingCancel:
- m_gestureAnimation.clear();
- return true;
+ if (m_gestureAnimation) {
+ m_gestureAnimation.clear();
+ return true;
+ }
+ return false;
case WebInputEvent::GestureScrollBegin:
case WebInputEvent::GestureScrollEnd:
case WebInputEvent::GestureScrollUpdate: