DescriptionDon't persist plugins across reattach for widget updates.
HTMLPluginElement::lazyReattachIfNeeded() is called for changes where we
expect the plugin to be re-initialized. For instance, if the type or
data attributes changes on <object>. In theory, a detach() as part of a
plugin-persisting lazy re-attach done previously may already have put
the plugin widget into the persisted plugin widget member. In that case
we will return early from detach() which is why we're resetting the
persisted widget in lazyReattachIfNeeded() instead of handling it in
detach().
R=esprehn@chromium.org
BUG=567329
Committed: https://crrev.com/2c26b87586f57a0b3d4ce5aca1077b36d406c7d3
Cr-Commit-Position: refs/heads/master@{#385590}
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|