| Index: content/plugin/plugin_thread.cc
|
| diff --git a/content/plugin/plugin_thread.cc b/content/plugin/plugin_thread.cc
|
| index 9b88420cbfe311c88b226c22d80d17d987774c23..75a692e63ee8a700c10409d88df7335c88c21a72 100644
|
| --- a/content/plugin/plugin_thread.cc
|
| +++ b/content/plugin/plugin_thread.cc
|
| @@ -44,9 +44,11 @@ namespace {
|
| class EnsureTerminateMessageFilter : public IPC::ChannelProxy::MessageFilter {
|
| public:
|
| EnsureTerminateMessageFilter() {}
|
| - ~EnsureTerminateMessageFilter() {}
|
|
|
| - private:
|
| + protected:
|
| + virtual ~EnsureTerminateMessageFilter() {}
|
| +
|
| + // IPC::ChannelProxy::MessageFilter:
|
| virtual void OnChannelError() {
|
| // How long we wait before forcibly shutting down the process.
|
| const base::TimeDelta kPluginProcessTerminateTimeout =
|
| @@ -60,6 +62,7 @@ class EnsureTerminateMessageFilter : public IPC::ChannelProxy::MessageFilter {
|
| kPluginProcessTerminateTimeout);
|
| }
|
|
|
| + private:
|
| void Terminate() {
|
| base::KillProcess(base::GetCurrentProcessHandle(), 0, false);
|
| }
|
|
|