Index: Source/core/dom/MouseEvent.cpp |
diff --git a/Source/core/dom/MouseEvent.cpp b/Source/core/dom/MouseEvent.cpp |
index 2d5f32822f03fb1a0fbcbd945c25684243572758..13bd886a31efd7abbbb69efac470b3455d6668ae 100644 |
--- a/Source/core/dom/MouseEvent.cpp |
+++ b/Source/core/dom/MouseEvent.cpp |
@@ -58,7 +58,7 @@ PassRefPtr<MouseEvent> MouseEvent::create(const AtomicString& eventType, PassRef |
ASSERT(event.type() == PlatformEvent::MouseMoved || event.button() != NoButton); |
bool isMouseEnterOrLeave = eventType == eventNames().mouseenterEvent || eventType == eventNames().mouseleaveEvent; |
- bool isCancelable = eventType != eventNames().mousemoveEvent && !isMouseEnterOrLeave; |
+ bool isCancelable = !isMouseEnterOrLeave; |
bool isBubbling = !isMouseEnterOrLeave; |
return MouseEvent::create(eventType, isBubbling, isCancelable, view, |