| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index c544728907199ece1367b6ba13a3ea1f8dc966eb..3024deae3e7d05234c48edaf8afe5137d1d98878 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -3538,6 +3538,8 @@ bool Document::setFocusedElement(PassRefPtrWillBeRawPtr<Element> prpNewFocusedEl
|
| m_focusedElement = newFocusedElement;
|
|
|
| m_focusedElement->setFocus(true);
|
| + cancelFocusAppearanceUpdate();
|
| + m_focusedElement->updateFocusAppearance(params.selectionBehavior);
|
|
|
| // Dispatch the focus event and let the node do any other focus related activities (important for text fields)
|
| // If page lost focus, event will be dispatched on page focus, don't duplicate
|
|
|