Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(449)

Unified Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 28238: Fix painting issue after a renderer crash (Closed)
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/browser_render_process_host.cc
diff --git a/chrome/browser/renderer_host/browser_render_process_host.cc b/chrome/browser/renderer_host/browser_render_process_host.cc
index 4d43423336cd2ed6c414815a6146dd39df1b4589..9e3c1fdae1f3e53fe309c301e1e02b5744d39ba5 100644
--- a/chrome/browser/renderer_host/browser_render_process_host.cc
+++ b/chrome/browser/renderer_host/browser_render_process_host.cc
@@ -795,6 +795,9 @@ void BrowserRenderProcessHost::OnChannelError() {
i != local_listeners.end(); ++i) {
i->second->OnMessageReceived(ViewHostMsg_RenderViewGone(i->first));
}
+
+ ClearTransportDIBCache();
+
// at this point, this object should be deleted
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698