Chromium Code Reviews
DescriptionDon't keep the lazy background page alive after a view with a Pepper plugin is closed.
A ref counting mechanism was added in
https://codereview.chromium.org/1117023002/ to keep event/background
pages from being unloaded if they had a plugin on them. However, plugins
in app windows created from the background page are still counted in
this ref counting. And if a plugin is embedded in an app window for a
chrome app, and the window is closed without removing the plugin first,
the browser message was never delivered to update the ref count.
The fix is to trigger the ref counter change only for for the NaCl
instances attached to the background pages.
BUG=521053
Committed: https://crrev.com/e3baba1f5a1c747382c5623364503ac451fb6ddb
Cr-Commit-Position: refs/heads/master@{#354899}
Patch Set 1 #
Messages
Total messages: 10 (2 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||