| 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 8fdfb8c27fc22a55f2f07009d3d08203e02b8e8a..5b41bba0338a4e98c7907c2070ba8252c203fbee 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -944,7 +944,8 @@ jboolean ContentViewCoreImpl::OnTouchEvent(JNIEnv* env,
|
| jint pointer_id_0,
|
| jint pointer_id_1,
|
| jfloat touch_major_0,
|
| - jfloat touch_major_1) {
|
| + jfloat touch_major_1,
|
| + jint tool_type) {
|
| RenderWidgetHostViewAndroid* rwhv = GetRenderWidgetHostViewAndroid();
|
| // Avoid synthesizing a touch event if it cannot be forwarded.
|
| if (!rwhv)
|
| @@ -965,7 +966,8 @@ jboolean ContentViewCoreImpl::OnTouchEvent(JNIEnv* env,
|
| pointer_id_0,
|
| pointer_id_1,
|
| touch_major_0,
|
| - touch_major_1);
|
| + touch_major_1,
|
| + tool_type);
|
|
|
| return rwhv->OnTouchEvent(event);
|
| }
|
|
|