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..c6672bc381c392389bce4924363453905abf19a9 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 |
Charlie Reis
2015/02/06 00:08:21
nit: End with period. (Code search gets the link
DaleCurtis
2015/02/06 00:10:31
Done.
|
+ ClearPowerSaveBlockers(rvh->GetMainFrame()); |
+ |
if (rvh != GetRenderViewHost()) { |
// The pending page's RenderViewHost is gone. |
return; |