projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
core
/
events
/
KeyboardEvent.cpp
diff --git
a/src/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
b/src/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
index
c03712e
..
93034ad
100644
(file)
--- a/
src/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
+++ b/
src/third_party/WebKit/Source/core/events/KeyboardEvent.cpp
@@
-217,15
+217,6
@@
int KeyboardEvent::which() const
return keyCode();
}
return keyCode();
}
-KeyboardEvent* findKeyboardEvent(Event* event)
-{
- for (Event* e = event; e; e = e->underlyingEvent()) {
- if (e->isKeyboardEvent())
- return toKeyboardEvent(e);
- }
- return 0;
-}
-
PassRefPtr<KeyboardEventDispatchMediator> KeyboardEventDispatchMediator::create(PassRefPtr<KeyboardEvent> event)
{
return adoptRef(new KeyboardEventDispatchMediator(event));
PassRefPtr<KeyboardEventDispatchMediator> KeyboardEventDispatchMediator::create(PassRefPtr<KeyboardEvent> event)
{
return adoptRef(new KeyboardEventDispatchMediator(event));