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

Unified Diff: content/browser/frame_host/cross_process_frame_connector.cc

Issue 147023002: Notify parent frame renderer when OOP child frame renderer crashes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Iframe displays green rectangle on child frame crash Created 6 years, 11 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
Index: content/browser/frame_host/cross_process_frame_connector.cc
diff --git a/content/browser/frame_host/cross_process_frame_connector.cc b/content/browser/frame_host/cross_process_frame_connector.cc
index 98eb7bbee9d0ab88634635bc9b4c69e4af7de304..520eeb60fff67026a7a19304301accd9be4faf67 100644
--- a/content/browser/frame_host/cross_process_frame_connector.cc
+++ b/content/browser/frame_host/cross_process_frame_connector.cc
@@ -53,6 +53,11 @@ void CrossProcessFrameConnector::set_view(
view_->set_cross_process_frame_connector(this);
}
+void CrossProcessFrameConnector::RenderProcessGone() {
+ frame_proxy_in_parent_renderer_->Send(new FrameMsg_ChildFrameProcessGone(
+ frame_proxy_in_parent_renderer_->routing_id()));
+}
+
void CrossProcessFrameConnector::ChildFrameBuffersSwapped(
const GpuHostMsg_AcceleratedSurfaceBuffersSwapped_Params& gpu_params,
int gpu_host_id) {

Powered by Google App Engine
This is Rietveld 408576698