| Index: content/browser/loader/resource_dispatcher_host_impl.cc
|
| diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| index 84bb203a988a7798918c830497dcf7a31249ae24..c1eadf905cf1c9539ff5adcb75620009cd0d3d5a 100644
|
| --- a/content/browser/loader/resource_dispatcher_host_impl.cc
|
| +++ b/content/browser/loader/resource_dispatcher_host_impl.cc
|
| @@ -43,6 +43,7 @@
|
| #include "content/browser/loader/transfer_navigation_resource_throttle.h"
|
| #include "content/browser/loader/upload_data_stream_builder.h"
|
| #include "content/browser/plugin_service_impl.h"
|
| +#include "content/browser/renderer_host/render_frame_host_impl.h"
|
| #include "content/browser/renderer_host/render_view_host_delegate.h"
|
| #include "content/browser/renderer_host/render_view_host_impl.h"
|
| #include "content/browser/resource_context_impl.h"
|
| @@ -271,6 +272,14 @@ void NotifyOnUI(int type, int render_process_id, int render_view_id,
|
| scoped_ptr<T> detail) {
|
| RenderViewHostImpl* host =
|
| RenderViewHostImpl::FromID(render_process_id, render_view_id);
|
| + if (!host) {
|
| + RenderFrameHost* rfh =
|
| + RenderFrameHost::FromID(render_process_id, render_view_id);
|
| + if (!rfh)
|
| + return;
|
| +
|
| + host = static_cast<RenderViewHostImpl*>(rfh->GetRenderViewHost());
|
| + }
|
| if (host) {
|
| RenderViewHostDelegate* delegate = host->GetDelegate();
|
| NotificationService::current()->Notify(
|
|
|