| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 4bb56aae1985baf38f5de2f903477838ca0ecdc2..5c4f6f07a36c1585793da1220019ab8224243556 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -947,7 +947,10 @@ jboolean ContentViewCoreImpl::OnTouchEvent(JNIEnv* env,
|
| jfloat touch_major_0,
|
| jfloat touch_major_1,
|
| jfloat raw_pos_x,
|
| - jfloat raw_pos_y) {
|
| + jfloat raw_pos_y,
|
| + jint android_tool_type_0,
|
| + jint android_tool_type_1,
|
| + jint android_button_state) {
|
| RenderWidgetHostViewAndroid* rwhv = GetRenderWidgetHostViewAndroid();
|
| // Avoid synthesizing a touch event if it cannot be forwarded.
|
| if (!rwhv)
|
| @@ -970,7 +973,10 @@ jboolean ContentViewCoreImpl::OnTouchEvent(JNIEnv* env,
|
| touch_major_0,
|
| touch_major_1,
|
| raw_pos_x,
|
| - raw_pos_y);
|
| + raw_pos_y,
|
| + android_tool_type_0,
|
| + android_tool_type_1,
|
| + android_button_state);
|
|
|
| return rwhv->OnTouchEvent(event);
|
| }
|
|
|