| Index: third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| diff --git a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| index 9295a008e39348a8f98e3ac7c162094252d75168..8232bd6695f337b0cbb5ac9d0a26c7618a4ae23c 100644
|
| --- a/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| +++ b/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
|
| @@ -192,30 +192,9 @@ void KeyboardEvent::initLocationModifiers(unsigned location)
|
| }
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<EventDispatchMediator> KeyboardEvent::createMediator()
|
| -{
|
| - return KeyboardEventDispatchMediator::create(this);
|
| -}
|
| -
|
| DEFINE_TRACE(KeyboardEvent)
|
| {
|
| UIEventWithKeyState::trace(visitor);
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<KeyboardEventDispatchMediator> KeyboardEventDispatchMediator::create(PassRefPtrWillBeRawPtr<KeyboardEvent> event)
|
| -{
|
| - return adoptRefWillBeNoop(new KeyboardEventDispatchMediator(event));
|
| -}
|
| -
|
| -KeyboardEventDispatchMediator::KeyboardEventDispatchMediator(PassRefPtrWillBeRawPtr<KeyboardEvent> event)
|
| - : EventDispatchMediator(event)
|
| -{
|
| -}
|
| -
|
| -bool KeyboardEventDispatchMediator::dispatchEvent(EventDispatcher& dispatcher) const
|
| -{
|
| - // Make sure not to return true if we already took default action while handling the event.
|
| - return EventDispatchMediator::dispatchEvent(dispatcher) && !event().defaultHandled();
|
| -}
|
| -
|
| } // namespace blink
|
|
|