| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index 7580068dff19cda345e3087b6a0e029e7ebf2f96..9151da22e1fe15034507457cb33f09ff18e5413e 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -425,13 +425,14 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| // The observers watching our lifetime.
|
| base::ObserverList<RenderProcessHostObserver> observers_;
|
|
|
| - // True if the process can be shut down suddenly. If this is true, then we're
|
| + // Refcount of dependencies that need sudden termination disabled. If <= 0,
|
| + // the process can be shut down suddenly. If this is <= 0, then we're
|
| // sure that all the RenderViews in the process can be shutdown suddenly. If
|
| - // it's false, then specific RenderViews might still be allowed to be shutdown
|
| + // it's > 0, then specific RenderViews might still be allowed to be shutdown
|
| // suddenly by checking their SuddenTerminationAllowed() flag. This can occur
|
| // if one WebContents has an unload event listener but another WebContents in
|
| // the same process doesn't.
|
| - bool sudden_termination_allowed_;
|
| + int sudden_termination_blocking_refcount_;
|
|
|
| // Set to true if we shouldn't send input events. We actually do the
|
| // filtering for this at the render widget level.
|
|
|