| Index: content/browser/browser_main_loop.cc
|
| diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
|
| index 8c90372bed2931a50d01a8404fec70de81c6e0ff..d0378ebefdba24d04e32c4dcd6abafd7995a4979 100644
|
| --- a/content/browser/browser_main_loop.cc
|
| +++ b/content/browser/browser_main_loop.cc
|
| @@ -53,6 +53,7 @@
|
| #include "content/browser/gpu/gpu_process_host_ui_shim.h"
|
| #include "content/browser/histogram_synchronizer.h"
|
| #include "content/browser/loader/resource_dispatcher_host_impl.h"
|
| +#include "content/browser/loader_delegate_impl.h"
|
| #include "content/browser/media/media_internals.h"
|
| #include "content/browser/mojo/mojo_shell_context.h"
|
| #include "content/browser/net/browser_online_state_observer.h"
|
| @@ -1258,11 +1259,15 @@ int BrowserMainLoop::BrowserThreadsStarted() {
|
| UMA_HISTOGRAM_BOOLEAN("Windows.Win32kRendererLockdown",
|
| IsWin32kRendererLockdownEnabled());
|
| #endif
|
| +
|
| // RDH needs the IO thread to be created
|
| {
|
| TRACE_EVENT0("startup",
|
| "BrowserMainLoop::BrowserThreadsStarted:InitResourceDispatcherHost");
|
| resource_dispatcher_host_.reset(new ResourceDispatcherHostImpl());
|
| +
|
| + loader_delegate_.reset(new LoaderDelegateImpl());
|
| + resource_dispatcher_host_->SetLoaderDelegate(loader_delegate_.get());
|
| }
|
|
|
| // MediaStreamManager needs the IO thread to be created.
|
|
|