| 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 6b7dbae6315f52828a398c5d4a45c876dbe87ed4..7e0ebae955ffe9d0057102ff92ae0552169ee03a 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandler.cpp
|
| @@ -1408,6 +1408,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();
|
| }
|
|
|
|
|