| Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| index d9a3d8750d633e910ae80fbccc338bfddfcb9c12..e040615c61676952fb79a1db2ea8e2d1d9be39b9 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -1092,6 +1092,7 @@ void FrameSelection::setFocusedNodeIfNeeded()
|
|
|
| if (Element* target = rootEditableElement()) {
|
| // Walk up the DOM tree to search for a node to focus.
|
| + m_frame->document()->updateLayoutTreeIgnorePendingStylesheets();
|
| while (target) {
|
| // We don't want to set focus on a subframe when selecting in a parent frame,
|
| // so add the !isFrameElement check here. There's probably a better way to make this
|
|
|