| 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 f1770ffec0e8af3d51c9621d723bd1ba0e3b081d..57009414578d92ce6456356a77f4e62ae854c4c2 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl.cc
|
| @@ -916,10 +916,12 @@ void RenderFrameHostImpl::SetRenderFrameCreated(bool created) {
|
| // If the current status is different than the new status, the delegate
|
| // needs to be notified.
|
| if (delegate_ && (created != was_created)) {
|
| - if (created)
|
| + if (created) {
|
| + SetUpMojoIfNeeded();
|
| delegate_->RenderFrameCreated(this);
|
| - else
|
| + } else {
|
| delegate_->RenderFrameDeleted(this);
|
| + }
|
| }
|
|
|
| if (created && render_widget_host_)
|
|
|