Index: components/exo/wayland/server.cc |
diff --git a/components/exo/wayland/server.cc b/components/exo/wayland/server.cc |
index 122aaee598c8506598cfdbd8d4c6b16903adb491..004f9d956fe9d7d420b5ec34c22244b25c01b14b 100644 |
--- a/components/exo/wayland/server.cc |
+++ b/components/exo/wayland/server.cc |
@@ -2963,8 +2963,6 @@ |
uint wayland_type = ZWP_POINTER_STYLUS_V1_TOOL_TYPE_MOUSE; |
if (type == ui::EventPointerType::POINTER_TYPE_PEN) |
wayland_type = ZWP_POINTER_STYLUS_V1_TOOL_TYPE_PEN; |
- else if (type == ui::EventPointerType::POINTER_TYPE_ERASER) |
- wayland_type = ZWP_POINTER_STYLUS_V1_TOOL_TYPE_ERASER; |
zwp_pointer_stylus_v1_send_tool_change(resource_, wayland_type); |
} |
void OnPointerForce(base::TimeTicks time_stamp, float force) override { |