| Index: content/browser/frame_host/render_frame_host_impl.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
|
| index 7803372e6d184c2394606b445367e68005d6c8e2..0503db20eb3886e25656fb20012295b85785b7a2 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -452,6 +452,10 @@ bool RenderFrameHostImpl::Send(IPC::Message* message) {
|
| }
|
|
|
| bool RenderFrameHostImpl::OnMessageReceived(const IPC::Message &msg) {
|
| + // Only process messages if the RenderFrame is alive.
|
| + if (!render_frame_created_)
|
| + return false;
|
| +
|
| // Filter out most IPC messages if this frame is swapped out.
|
| // We still want to handle certain ACKs to keep our state consistent.
|
| if (is_swapped_out()) {
|
|
|