| 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 b51173b7bff61bb2ec2393b037a0360637a3abdf..194d1ec516857aac7d93891c5319231213113866 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -1103,6 +1103,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
|
|
|