| Index: third_party/WebKit/Source/core/editing/Editor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| index 3ce9536e6f79cd350201cd31130bd3514849f93c..18b0e4da7480f48aea3c8b9dca040d8a0a896e67 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -755,9 +755,7 @@ void Editor::registerCommandGroup(CompositeEditCommand* commandGroupWrapper) {
|
| }
|
|
|
| Element* Editor::findEventTargetFrom(const VisibleSelection& selection) const {
|
| - Element* target = selection.hasEditableStyle()
|
| - ? associatedElementOf(selection.start())
|
| - : frame().document()->activeElement();
|
| + Element* target = associatedElementOf(selection.start());
|
| if (!target)
|
| target = frame().document()->body();
|
|
|
|
|