Index: third_party/WebKit/Source/core/events/WheelEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/WheelEvent.cpp b/third_party/WebKit/Source/core/events/WheelEvent.cpp |
index aecab718ca0c199f1331761e14ab11df8eff6316..b228b4a0af37ff9f6ff23076b739f5ac1319d578 100644 |
--- a/third_party/WebKit/Source/core/events/WheelEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/WheelEvent.cpp |
@@ -107,7 +107,7 @@ bool WheelEvent::isWheelEvent() const |
PassRefPtrWillBeRawPtr<EventDispatchMediator> WheelEvent::createMediator() |
{ |
- return WheelEventDispatchMediator::create(this); |
+ return EventDispatchMediator::create(this); |
} |
DEFINE_TRACE(WheelEvent) |
@@ -115,24 +115,4 @@ DEFINE_TRACE(WheelEvent) |
MouseEvent::trace(visitor); |
} |
-PassRefPtrWillBeRawPtr<WheelEventDispatchMediator> WheelEventDispatchMediator::create(PassRefPtrWillBeRawPtr<WheelEvent> event) |
-{ |
- return adoptRefWillBeNoop(new WheelEventDispatchMediator(event)); |
-} |
- |
-WheelEventDispatchMediator::WheelEventDispatchMediator(PassRefPtrWillBeRawPtr<WheelEvent> event) |
- : EventDispatchMediator(event) |
-{ |
-} |
- |
-WheelEvent& WheelEventDispatchMediator::event() const |
-{ |
- return toWheelEvent(EventDispatchMediator::event()); |
-} |
- |
-bool WheelEventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) const |
-{ |
- return EventDispatchMediator::dispatchEvent(dispatcher) && !event().defaultHandled(); |
-} |
- |
} // namespace blink |