| Index: content/browser/web_contents/web_contents_impl.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
|
| index f4837942137d3f8fee9676a5a70e8b8a03695c87..d2c76058e77b0a21e1c48dacb69ad017b17dfcc6 100644
|
| --- a/content/browser/web_contents/web_contents_impl.cc
|
| +++ b/content/browser/web_contents/web_contents_impl.cc
|
| @@ -3702,6 +3702,10 @@ void WebContentsImpl::RenderViewReady(RenderViewHost* rvh) {
|
| void WebContentsImpl::RenderViewTerminated(RenderViewHost* rvh,
|
| base::TerminationStatus status,
|
| int error_code) {
|
| + // TODO(nasko): This isn't ideal; the termination process should be handled by
|
| + // RenderFrameDeleted(). See http://crbug.com/455943.
|
| + ClearPowerSaveBlockers(rvh->GetMainFrame());
|
| +
|
| if (rvh != GetRenderViewHost()) {
|
| // The pending page's RenderViewHost is gone.
|
| return;
|
|
|