summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi/plugin_module.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-27 20:33:02 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-27 20:33:02 +0000
commit1647ac8f2c5de0809eb4e78f1902fba19dbb7c53 (patch)
treeb2e3654f0c51b82f83c2b52ff0b020d1339a4615 /webkit/plugins/ppapi/plugin_module.h
parentfd42ac30f127624def51d949e21f9776b0e6d257 (diff)
downloadchromium_src-1647ac8f2c5de0809eb4e78f1902fba19dbb7c53.zip
chromium_src-1647ac8f2c5de0809eb4e78f1902fba19dbb7c53.tar.gz
chromium_src-1647ac8f2c5de0809eb4e78f1902fba19dbb7c53.tar.bz2
Don't use crashed plugins when instantiating new ones. Before, when a plugin
crashed and was still referenced by a plugin in the same renderer, it would try to re-use the crashed one, which obviously doesn't work very well. This change removes crashed plugins from the renderer's list. TEST=Manual: instantiate two tabs sharing the same renderer using a plugin, kill the plugin, then reload one of the tabs. BUG=none Review URL: http://codereview.chromium.org/6594036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi/plugin_module.h')
-rw-r--r--webkit/plugins/ppapi/plugin_module.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/plugin_module.h b/webkit/plugins/ppapi/plugin_module.h
index f21dbde..39aa878 100644
--- a/webkit/plugins/ppapi/plugin_module.h
+++ b/webkit/plugins/ppapi/plugin_module.h
@@ -140,6 +140,9 @@ class PluginModule : public base::RefCounted<PluginModule>,
PP_Module pp_module_;
+ // True if the plugin is running out-of-process and has crashed.
+ bool is_crashed_;
+
// Manages the out of process proxy interface. The presence of this
// pointer indicates that the plugin is running out of process and that the
// entry_points_ aren't valid.