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

Unified Diff: content/common/swapped_out_messages.cc

Issue 894843003: Move the RenderProcessGone IPC from RenderViewHost to RenderFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/common/swapped_out_messages.cc
diff --git a/content/common/swapped_out_messages.cc b/content/common/swapped_out_messages.cc
index 6c872d43f1aa33661262edb7c5ea6fcb9188d03f..3cb20a571aaa89fe58e2888c07f02cb0c85fe517 100644
--- a/content/common/swapped_out_messages.cc
+++ b/content/common/swapped_out_messages.cc
@@ -24,7 +24,6 @@ bool SwappedOutMessages::CanSendWhileSwappedOut(const IPC::Message* msg) {
case FrameHostMsg_OpenURL::ID:
case ViewHostMsg_Focus::ID:
// Handled by RenderViewHost.
- case ViewHostMsg_RenderProcessGone::ID:
case ViewHostMsg_ClosePage_ACK::ID:
case ViewHostMsg_SwapCompositorFrame::ID:
// Handled by WorkerMessageFilter (or by SharedWorkerMessageFilter when
@@ -36,6 +35,7 @@ bool SwappedOutMessages::CanSendWhileSwappedOut(const IPC::Message* msg) {
// Handled by RenderFrameHost.
case FrameHostMsg_BeforeUnload_ACK::ID:
case FrameHostMsg_SwapOut_ACK::ID:
+ case FrameHostMsg_RenderProcessGone::ID:
// Frame detach must occur after the RenderView has swapped out.
case FrameHostMsg_Detach::ID:
case FrameHostMsg_DomOperationResponse::ID:

Powered by Google App Engine
This is Rietveld 408576698