Index: third_party/WebKit/Source/core/page/FocusController.cpp |
diff --git a/third_party/WebKit/Source/core/page/FocusController.cpp b/third_party/WebKit/Source/core/page/FocusController.cpp |
index 096bdb946d1ec80162dd6c2c1b9d2858ce6b8144..df65ba7a8410a5cf58d5eca15f233de3dd7edd54 100644 |
--- a/third_party/WebKit/Source/core/page/FocusController.cpp |
+++ b/third_party/WebKit/Source/core/page/FocusController.cpp |
@@ -277,9 +277,6 @@ inline void dispatchEventsOnWindowAndFocusedElement(Document* document, bool foc |
// If we have a focused element we should dispatch focus on it after we focus the window. |
// https://bugs.webkit.org/show_bug.cgi?id=27105 |
- if (document->focusedElement() && isHTMLPlugInElement(document->focusedElement())) |
- toHTMLPlugInElement(document->focusedElement())->setPluginFocus(focused); |
- |
// Do not fire events while modal dialogs are up. See https://bugs.webkit.org/show_bug.cgi?id=33962 |
if (Page* page = document->page()) { |
if (page->defersLoading()) |