| Index: Source/core/dom/Document.cpp | 
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp | 
| index b04d275363d206b513c9fd198602e3d8ca5e9b44..5d86e547e680b28b015141986c0b24e23c113dbc 100644 | 
| --- a/Source/core/dom/Document.cpp | 
| +++ b/Source/core/dom/Document.cpp | 
| @@ -3587,7 +3587,7 @@ bool Document::setFocusedElement(PassRefPtrWillBeRawPtr<Element> prpNewFocusedEl | 
| goto SetFocusedElementDone; | 
| } | 
|  | 
| -            m_focusedElement->dispatchFocusInEvent(EventTypeNames::focusin, oldFocusedElement.get()); // DOM level 3 bubbling focus event. | 
| +            m_focusedElement->dispatchFocusInEvent(EventTypeNames::focusin, oldFocusedElement.get(), type); // DOM level 3 bubbling focus event. | 
|  | 
| if (m_focusedElement != newFocusedElement) { | 
| // handler shifted focus | 
| @@ -3597,7 +3597,7 @@ bool Document::setFocusedElement(PassRefPtrWillBeRawPtr<Element> prpNewFocusedEl | 
|  | 
| // FIXME: We should remove firing DOMFocusInEvent event when we are sure no content depends | 
| // on it, probably when <rdar://problem/8503958> is m. | 
| -            m_focusedElement->dispatchFocusInEvent(EventTypeNames::DOMFocusIn, oldFocusedElement.get()); // DOM level 2 for compatibility. | 
| +            m_focusedElement->dispatchFocusInEvent(EventTypeNames::DOMFocusIn, oldFocusedElement.get(), type); // DOM level 2 for compatibility. | 
|  | 
| if (m_focusedElement != newFocusedElement) { | 
| // handler shifted focus | 
|  |