| Index: third_party/WebKit/Source/core/input/EventHandler.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/EventHandler.cpp b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| index 81d3157168d6a82a2af1152e80ba27723e293428..02aaf6d8ab20e478b783da6609a7a6ce19c2b1af 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| @@ -1364,6 +1364,10 @@ bool EventHandler::ShouldApplyTouchAdjustment(
|
| if (frame_->GetSettings() &&
|
| !frame_->GetSettings()->GetTouchAdjustmentEnabled())
|
| return false;
|
| +
|
| + if (event.primary_pointer_type == WebPointerProperties::PointerType::kPen)
|
| + return false;
|
| +
|
| return !event.TapAreaInRootFrame().IsEmpty();
|
| }
|
|
|
|
|