12013-02-12 Hayato Ito <hayato@chromium.org>
2
3 Make {FocusIn,FocusOut,Focus,Blur}EventDispatchMediator type safe.
4 https://bugs.webkit.org/show_bug.cgi?id=109561
5
6 Reviewed by NOBODY (OOPS!).
7
8 Use FocusEvent rather than Event in {FocusIn,FocusOut,Focus,Blur}EventDispatchMediator.
9
10 No new tests. No change in functionality.
11
12 * dom/FocusEvent.cpp:
13 (WebCore::FocusEventDispatchMediator::create):
14 (WebCore::FocusEventDispatchMediator::FocusEventDispatchMediator):
15 (WebCore::BlurEventDispatchMediator::create):
16 (WebCore::BlurEventDispatchMediator::BlurEventDispatchMediator):
17 (WebCore::FocusInEventDispatchMediator::create):
18 (WebCore::FocusInEventDispatchMediator::FocusInEventDispatchMediator):
19 (WebCore::FocusOutEventDispatchMediator::create):
20 (WebCore::FocusOutEventDispatchMediator::FocusOutEventDispatchMediator):
21 * dom/FocusEvent.h:
22 (FocusEventDispatchMediator):
23 (WebCore::FocusEventDispatchMediator::event):
24 (BlurEventDispatchMediator):
25 (WebCore::BlurEventDispatchMediator::event):
26 (FocusInEventDispatchMediator):
27 (WebCore::FocusInEventDispatchMediator::event):
28 (FocusOutEventDispatchMediator):
29 (WebCore::FocusOutEventDispatchMediator::event):
30