| 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 49364b1931cb671dded685d71bb0bffb12ffe968..b9070229df6579b2b3f795360f5c396a4e2a98e5 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -4087,12 +4087,6 @@ bool Document::SetFocusedElement(Element* prp_new_focused_element,
|
| new_focused_element = nullptr;
|
| }
|
| }
|
| -
|
| - if (IsHTMLPlugInElement(old_focused_element)) {
|
| - if (PluginView* plugin =
|
| - ToHTMLPlugInElement(old_focused_element)->Plugin())
|
| - plugin->SetFocused(false, params.type);
|
| - }
|
| }
|
|
|
| if (new_focused_element)
|
| @@ -4157,11 +4151,6 @@ bool Document::SetFocusedElement(Element* prp_new_focused_element,
|
|
|
| if (IsRootEditableElement(*focused_element_))
|
| GetFrame()->GetSpellChecker().DidBeginEditing(focused_element_.Get());
|
| -
|
| - if (IsHTMLPlugInElement(focused_element_)) {
|
| - if (PluginView* plugin = ToHTMLPlugInElement(focused_element_)->Plugin())
|
| - plugin->SetFocused(true, params.type);
|
| - }
|
| }
|
|
|
| if (!focus_change_blocked && focused_element_) {
|
|
|