-
jbroman@chromium.org authored
This is a reland of https://codereview.chromium.org/717193003/ which was reverted due to a SyzyASAN failure: https://code.google.com/p/chromium/issues/detail?id=433357 I'm not quite sure how my patch caused the issue, but reverting it did fix it. It seems that layout was being triggered during isKeyboardFocusable(), during which the plugin element itself was destroyed. This changes that path to only use an existing plugin to check for keyboard focusability, similar to other code in HTMLPlugInElement. TEST=fast/plugins/plugin/placeholder-focus.html BUG=364716 Review URL: https://codereview.chromium.org/732783002 git-svn-id: svn://svn.chromium.org/blink/trunk@185468 bbb929c8-8fbe-4397-9dbb-9b2b20218538
00af5e78