| 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 e693c96e5c4d269e375b92f870ad506d4c5d7ed1..72153fa84217712f5ba2d4fff403c3697da2e04c 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -459,6 +459,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()) {
|
|
|