| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 888dce0df80c89e8e39ddb4ff5dbda141dc35d82..600da8701fa58ad15a973ef5cc384843dc54d07f 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -3343,7 +3343,7 @@ bool Document::setFocusedElement(PassRefPtr<Element> prpNewFocusedElement, Focus
|
| m_focusedElement->setFocus(true);
|
|
|
| if (m_focusedElement->isRootEditableElement())
|
| - frame()->editor()->didBeginEditing();
|
| + frame()->editor()->didBeginEditing(m_focusedElement.get());
|
|
|
| // eww, I suck. set the qt focus correctly
|
| // ### find a better place in the code for this
|
|
|