diff options
author | Derek Sollenberger <djsollen@google.com> | 2009-07-28 14:08:20 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2009-07-28 14:08:20 -0400 |
commit | a620c76d9611eccae475b9d602d7f4bfc11b93c2 (patch) | |
tree | 35675bfb896acb8536e3687c7edbd9ad5df77db5 /WebCore/plugins | |
parent | 173ac2014a449b52820cca679634960259bf7710 (diff) | |
download | external_webkit-a620c76d9611eccae475b9d602d7f4bfc11b93c2.zip external_webkit-a620c76d9611eccae475b9d602d7f4bfc11b93c2.tar.gz external_webkit-a620c76d9611eccae475b9d602d7f4bfc11b93c2.tar.bz2 |
fixing plugin event handling for touch to return the correct value.
Diffstat (limited to 'WebCore/plugins')
-rw-r--r-- | WebCore/plugins/android/PluginViewAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/plugins/android/PluginViewAndroid.cpp b/WebCore/plugins/android/PluginViewAndroid.cpp index 668c419..54a085d 100644 --- a/WebCore/plugins/android/PluginViewAndroid.cpp +++ b/WebCore/plugins/android/PluginViewAndroid.cpp @@ -237,7 +237,7 @@ void PluginView::handleTouchEvent(TouchEvent* event) evt.data.touch.y = docCoordinates.y() - m_npWindow.y; if (m_plugin->pluginFuncs()->event(m_instance, &evt)) { - event->setDefaultHandled(); + event->setDefaultPrevented(true); } } |