Index: third_party/WebKit/Source/core/events/PointerEventFactory.cpp |
diff --git a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp |
index ef93631cd36dd7b0459ea194c434603f576bb1d1..9242f9ac9e76ea5435d40ecc8b08c318c855a4bb 100644 |
--- a/third_party/WebKit/Source/core/events/PointerEventFactory.cpp |
+++ b/third_party/WebKit/Source/core/events/PointerEventFactory.cpp |
@@ -21,6 +21,7 @@ const char* pointerTypeNameForWebPointPointerType(WebPointerProperties::PointerT |
case WebPointerProperties::PointerType::Touch: |
return "touch"; |
case WebPointerProperties::PointerType::Pen: |
+ case WebPointerProperties::PointerType::Eraser: |
return "pen"; |
case WebPointerProperties::PointerType::Mouse: |
return "mouse"; |
@@ -162,7 +163,7 @@ PointerEvent* PointerEventFactory::create( |
pointerEventInit.setView(view); |
- |
+ LOG(ERROR) << "PointerEventFactory::create. Pointer: " << static_cast<int>(mouseEvent.pointerProperties().pointerType); |
return PointerEvent::create(pointerEventName, pointerEventInit); |
} |