| Index: Source/core/html/HTMLTextAreaElement.cpp
|
| diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp
|
| index 88d289f6b38792da5ed7b7dbbef1868dd1340923..f82dd3679cb4eb6afcfb9a4ce3eac2ce80e93050 100644
|
| --- a/Source/core/html/HTMLTextAreaElement.cpp
|
| +++ b/Source/core/html/HTMLTextAreaElement.cpp
|
| @@ -36,6 +36,7 @@
|
| #include "core/dom/ExceptionCodePlaceholder.h"
|
| #include "core/dom/Text.h"
|
| #include "core/dom/shadow/ShadowRoot.h"
|
| +#include "core/editing/Editor.h"
|
| #include "core/editing/FrameSelection.h"
|
| #include "core/editing/TextIterator.h"
|
| #include "core/html/FormController.h"
|
| @@ -270,6 +271,12 @@ void HTMLTextAreaElement::defaultEventHandler(Event* event)
|
| HTMLTextFormControlElement::defaultEventHandler(event);
|
| }
|
|
|
| +void HTMLTextAreaElement::handleFocusEvent(Element* oldFocusedNode, FocusDirection direction)
|
| +{
|
| + if (Frame* frame = document()->frame())
|
| + frame->editor()->textAreaDidBeginEditing(this);
|
| +}
|
| +
|
| void HTMLTextAreaElement::subtreeHasChanged()
|
| {
|
| setChangedSinceLastFormControlChangeEvent(true);
|
|
|