| Index: Source/core/dom/Document.cpp | 
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp | 
| index ac3d14065363a169bfbaab9e2a1207145b4f692b..4d75e89e79eb6e6edf54ff65d7f2f0d644329211 100644 | 
| --- a/Source/core/dom/Document.cpp | 
| +++ b/Source/core/dom/Document.cpp | 
| @@ -3616,7 +3616,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 | 
| @@ -3626,7 +3626,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 | 
|  |